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

Potentially expensive function user_can_create_courses called repeatedly in backup

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.3
    • 1.9.4
    • Backup, Performance
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      Better to call it once per page, and store the result in a variable. Also, there is an easy way to improve performance of this method.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28/Jan/09