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

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39087-plugins-uninstall

      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).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  6 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13