Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38259 No way to uninstall some plugin types
  3. MDL-39087

Improve plugin_manager to be able to uninstall all plugin types

    XMLWordPrintable

Details

    • MOODLE_24_STABLE
    • MOODLE_25_STABLE
    • MDL-39087-plugins-uninstall
    • Hide

      Testing difficulty: easy

      1. Install some add-on into your site, preferably using the new Install add-on admin tool.
      2. Visit Site administration ► Plugins ► Plugins overview
      3. TEST: Make sure there is the link 'Uninstall' displayed for the add-on and that it works (i.e. the add-on can be uninstalled).

      Notes:

      • The 'Uninstall' link should never appear for plugins that are required by some other plugins.
      • Plugins that do not have their own uninstallation script should be uninstalled by admin/plugins.php. This new common tool is also able to delete the plugin folder from the disk if the web server process has required write access. This applies only to plugins that do not have their own uninstall script (there is a separare issue for that). So for example, if you install a theme via the web interface, you should be also able to remove it completely via the web interface too.
      Show
      Testing difficulty: easy Install some add-on into your site, preferably using the new Install add-on admin tool. Visit Site administration ► Plugins ► Plugins overview TEST: Make sure there is the link 'Uninstall' displayed for the add-on and that it works (i.e. the add-on can be uninstalled). Notes: The 'Uninstall' link should never appear for plugins that are required by some other plugins. Plugins that do not have their own uninstallation script should be uninstalled by admin/plugins.php. This new common tool is also able to delete the plugin folder from the disk if the web server process has required write access. This applies only to plugins that do not have their own uninstall script (there is a separare issue for that). So for example, if you install a theme via the web interface, you should be also able to remove it completely via the web interface too.

    Description

      • A new common tool for uninstalling general (any) plugin is needed.
      • Plugins overview screen must be improved so that it offers 'Uninstall' links only when it is appropriate (e.g. we can't uninstall a plugin that other plugins rely on).

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              mudrd8mz David Mudrák (@mudrd8mz)
              Tim Hunt Tim Hunt
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13