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

Performance: has_capability sometimes calls load_user_capability which forces check_enrolment_plugins to be called

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8
    • 1.8.1, 1.9
    • Enrolments
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      A simple fix here is to add a flag to load_user_capability so that enrolment plugin-checking can be switched off in has_capability and possibly some other places.

      Attachments

        Activity

          People

            dougiamas Martin Dougiamas
            dougiamas Martin Dougiamas
            Nobody Nobody
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jun/07