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

weblib.php was always including course/lib.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Libraries
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      That is obviously a bit silly (and bad for performance). course/lib.php should only be included where necessary.

      Therefore I removed it in http://git.moodle.org/gw?p=moodle.git;a=commit;h=5d3e9d9fe33a91287ab5aa7031fa3f4ff47caee9

      However, as a result, there are places in the code that need course/lib.php, but do not require_once it themselves. As we find them they need to be fixed.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10