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

CLI script to uninstall plugins

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Run php admin/cli/uninstall_plugins.php and read instructions.
      • Test each option in the instructions and make sure it works as expected
      • Try removing auth_none or mod_forum with:
        • php admin/cli/uninstall_plugins.php --plugins=auth_none
        • php admin/cli/uninstall_plugins.php --plugins=mod_forum
      • Verify that you get a message saying "Can not be uninstalled:" followed by the plugin details.
      Show
      Run php admin/cli/uninstall_plugins.php and read instructions. Test each option in the instructions and make sure it works as expected Try removing auth_none or mod_forum with: php admin/cli/uninstall_plugins.php --plugins=auth_none php admin/cli/uninstall_plugins.php --plugins=mod_forum Verify that you get a message saying " Can not be uninstalled: " followed by the plugin details.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63623-master

      Description

      Currently there is no way to uninstall plugins via CLI. 

      The script would have a several options

      • show all missing from disk plugins
      • uninstall a particular plugin
      • uninstall all missing from disk plugins 

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                20/May/19