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

adminlib: get_component_version() does not always use the plugin manager

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.0
    • Administration
    • None
    • MOODLE_30_STABLE

      I discovered by accident that get_component_version() function in the adminlib.php does not use the plugin manager features designed exactly for this.

      Additionally, it looks like this function is used at only three places at the moment. So, the suggestion is to:

      • Rewrite the function so that it uses the plugin manager
      • Rewrite all three places using it to use the plugin manager directly instead
      • Deprecate and eventually remove this function completely

            Unassigned Unassigned
            mudrd8mz David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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