Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13801

Decouple the user object from the text_formatter.s9e.parser service

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.0-a1
    • 3.2.0-dev
    • Posting
    • None

      Currently, the text_formatter.s9e.parser service requires a user instance. It's only used to localize error messages and that seems unsound. I propose to remove the dependency from the text formatter and move it to the message_parser class, which already requires a user object.

            nicofuma nicofuma
            JoshyPHP JoshyPHP
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: