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

centralise information about plugins to avoid duplication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • General
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      From a conversation in jabber and following on from MDL-16392

      It would be good to have an array somewhere containing all information about plugins, where their db directories are etc. At the moment get_db_directories seems to contain most of this information but there are other places in moodle that duplicate this (the example was events_load_def).

      If we could maintain one array containing this information and then a few helper functions around it we could potentially:

      a) remove a lot of duplication
      b) make it easier to add new plugin 'types' later without having to add db location information in muliple places

        There are no Sub-Tasks for this issue.

            skodak Petr Skoda
            mjollnir Penny Leach (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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