Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12104

Shadowtopics SQL used in core event should use the SQL builder

    XMLWordPrintable

Details

    Description

      The recently aded core.event to viewforum.php to modify the SQL obtaining shadow topic data should be modified.

      Currently, the SQL is a string statement, and that string variable is what is passed to the core event.

      This SQL should be an SQL array that uses the SQL Select builder function, so that extensions using this event can have more flexibility in modifying the SQL statement, rather than having to rewrite the statement as a whole. This will also prevent potential conflicts if multiple extensions need to access and modify this events SQL statement.

      Currently, every SQL that is passed to a core event is an sql array, except for this one, which is a string...so this one is the odd man out.

      Attachments

        Activity

          People

            EXreaction EXreaction [X] (Inactive)
            VSE Matt Friedman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: