Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39443 META: OU Moodle 2.4 performance tuning
  3. MDL-39449

course/view.php should not require_once mod/forum/lib.php

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.3
    • 2.5
    • Course, Forum, Performance

    Description

      forum lib.php is badly written. It is huge and requires a lot of other library code.

      (Probably a lot of code there should be moved to locallib.php.)

      Anwyay, it is not a problem for us, since we don't use forum.php, so it is disappoining to see forum lib.php showing up in our profiling as 2% of the page-load time.

      This simple patch seems to fix it, but it might cause regressions.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Dan Poltawski Dan Poltawski
              Jason Fowler Jason Fowler
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13