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

Unnecessary load of dnduploadlib

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Performance
    • Labels:
    • Testing Instructions:
      Hide
      1. Navigate the site, and make sure you don't see any errors
      2. As a teacher, edit the front page, and a course page
        • Confirm that you can drag and drop files
        • Confirm that you can drag and drop sections
        • Confirm that you can drag and drop activities
      3. Follow MDL-41143 testing instructions and make sure it is all fine
      Show
      Navigate the site, and make sure you don't see any errors As a teacher, edit the front page, and a course page Confirm that you can drag and drop files Confirm that you can drag and drop sections Confirm that you can drag and drop activities Follow MDL-41143 testing instructions and make sure it is all fine
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41125-master

      Description

      lib/dnduploadlib.php is loaded from course/lib.php, on every single request. This is really unnecessary as the DND feature is only available on the front page, and the course index when editing is turned on.

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Sam Hemelryk Sam Hemelryk
            Integrator:
            Dan Poltawski Dan Poltawski
            Tester:
            Adrian Greeve Adrian Greeve
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              18/Nov/13