Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31081

Forum index.php performance

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9.16, 2.0.4, 2.1, 2.2
    • Fix Version/s: 2.1.5, 2.2.2
    • Component/s: Forum

      Description

      The method forum_get_subscribed_forums() found in mod/forum/lib.php doesn't make use of the passed course, so it gets information on all forums on the site instead of just ones for the course. This has proven to be a very large performance hit on sites with a lot of forums.

        Attachments

        1. Moodle1.patch
          0.7 kB
        2. Moodle2.patch
          0.8 kB

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Mar/12