Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29602 cleanup and improve acccesslib META
  3. MDL-29666

eliminate all custom context record fetching

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.1
    • None
    • Roles / Access
    • None
    • MOODLE_21_STABLE

    Description

      We need to forbid direct loading of context instance from database, developers do that either to improve perf or because they do not understand the usage get_context_instance and friends.

      1/ replace all get_record('context', ...) with get_context_instance...()
      2/ fix all context preloading

      Attachments

        Activity

          People

            skodak Petr Skoda
            skodak Petr Skoda
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: