Find, manage and uninstall plugins with uninstall_plugins.php

Поделиться
HTML-код
  • Опубликовано: 17 июн 2024
  • 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
    docs.moodle.org/404/en/Admini...

Комментарии • 3

  • @shiriajin
    @shiriajin 28 дней назад +1

    Hello, Shiriajin here, thanks a lot for making this video and for showing me how to remove all those plugins missing from the disk. Thanks also to ducky who reminded us of the run swtich.

    • @Wise-Cat
      @Wise-Cat  28 дней назад +1

      Thank you for the great question! I'll pass your message on to the duck. 😂

  • @wemisiu583
    @wemisiu583 7 дней назад +1

    Hello unrelated but wanted to know how I can expand my section name in the Moodle course index. My section name (tittle) cuts off because it's pretty long and wanted to know how I can make it so it does not and it reads it completely. For example, my section name in the course index reads like this, "Module 1: Reliability and...". When it should read like this, "Module 1: Reliability and Resiliency in Today's Mission Critical Environment ". Thank you :)