MDL-53770 mod_lti: allow to uninstall ltisource plugins

This commit is contained in:
Marina Glancy
2016-04-11 09:04:46 +08:00
parent 98eb681cc0
commit 95a2aa2e1c
+9
View File
@@ -69,4 +69,13 @@ class ltisource extends base {
$ADMIN->add($parentnodename, $settings);
}
}
/**
* Should there be a way to uninstall the plugin via the administration UI.
*
* @return bool
*/
public function is_uninstall_allowed() {
return true;
}
}