Find, manage and uninstall plugins with uninstall_plugins.php

Описание к видео Find, manage and uninstall plugins with uninstall_plugins.php

The CLI script uninstall_plugins.php sounds like it's only for uninstalling plugins, right? But no, it can do so much more. It can give you lists of all plugins on your site, all 3rd-party (non-core - contributed) plugins, and even plugins that have their code missing from disk. It also has the function to purge missing plugins so that the database schema can be restored to a pristine condition.

It's also very safe to use uninstall_plugins.php because it won't actually do anything unless used together with the "--run" switch.

** One thing I forgot to mention in the video, if you're trying to uninstall a plugin that is NOT missing, you will also need to delete the plugin files separately as uninstall_plugins.php doesn't do that part. (Oopsie!)

Moodle Docs about this feature
https://docs.moodle.org/404/en/Admini...

Комментарии

Информация по комментариям в разработке