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

Allow use of uninstall_plugin in upgrade code

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.8
    • Installation
    • MOODLE_38_STABLE

      From Eloy's comment,

      Z) Proceeding with custom removal code like this is really error prone. What if the block has files, or tags, or logs, or anything else. We should be able to use plugin_manager / uninstall_plugin() in upgrade code. Sort of verify that everything works and whitelist it for allowing its use. It's a pity that we have a good API to remove plugins and cannot use it un upgrade.php. So +1 to consider that option at some point (another issue).

            Unassigned Unassigned
            peterdias Peter Dias
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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