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

Clicking on scales link in a course for administrators is really slow (fix included)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.8
    • 1.8.3, 1.9
    • Course
    • None
    • Any
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      Clicking on the scales link in a course for administrators is really slow. This is a result of Moodle trying to make all scales site-wide available for the administrators. This is not efficient or practical. We recommend to comment this code out:

      It doesn't make sense to click on the Scales link in a course and then get all the scales in the site. This is especially troublesome if you are running a big production site that has a lot of scales

      At around line# 429

      } else

      { // $scales_uses = site_scale_used($scale->id,$courses); }

      Attachments

        Activity

          People

            dougiamas Martin Dougiamas
            chuang Wen Hao Chuang
            Nobody Nobody
            Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07