From 0304eacfd5cf3641d896247856bb94fd5db28537 Mon Sep 17 00:00:00 2001 From: Laurent David Date: Fri, 18 Aug 2023 09:44:15 +0200 Subject: [PATCH] MDL-79255 mod_bigbluebuttonbn: Allow subplugins to be uninstalled * Allow subplugins to be uninstalled --- mod/bigbluebuttonbn/classes/plugininfo/bbbext.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mod/bigbluebuttonbn/classes/plugininfo/bbbext.php b/mod/bigbluebuttonbn/classes/plugininfo/bbbext.php index 4bfd30642f2..59ed72b1147 100644 --- a/mod/bigbluebuttonbn/classes/plugininfo/bbbext.php +++ b/mod/bigbluebuttonbn/classes/plugininfo/bbbext.php @@ -146,4 +146,14 @@ class bbbext extends base { public function get_settings_section_name() { return $this->type . '_' . $this->name; } + + /** + * Should there be a way to uninstall the plugin via the administration UI. + * + * + * @return bool + */ + public function is_uninstall_allowed() { + return true; + } }