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

Adapt component_callback_exists to make use of plugin_functions cache definition

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.1
    • Caching
    • None
    • MOODLE_31_STABLE

      Not sure of how would be the performance impact but sometimes we just need to know if the callback exist, not execute it (we would require to include the file with the callback for that) so would be better to read the cache instead of a big lib.php file or any other big lib file. I thought about it last week while reviewing something, now I see it again used in grade_item::adjust_raw_grade, although doing a git grep component_callback_exists I don't see as much uses of it as I thought.

            Unassigned Unassigned
            dmonllao David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.