MDL-39088 add new general uninstall url support to plugin manager

This commit is contained in:
Petr Škoda
2013-06-27 22:20:34 +02:00
parent f0d37f4ac5
commit 2f87bb0315
3 changed files with 40 additions and 5 deletions
+2
View File
@@ -115,6 +115,8 @@ define('INSECURE_DATAROOT_ERROR', 2);
/**
* Automatically clean-up all plugin data and remove the plugin DB tables
*
* NOTE: do not call directly, use new /admin/plugins.php?uninstall=component instead!
*
* @param string $type The plugin type, eg. 'mod', 'qtype', 'workshopgrading' etc.
* @param string $name The plugin name, eg. 'forum', 'multichoice', 'accumulative' etc.
* @uses global $OUTPUT to produce notices and other messages