MDL-28466 remove the enrol_authorize data

If there are no records, remove the plugin
This commit is contained in:
Dan Poltawski 2013-07-15 13:56:39 +08:00
parent 5710055d41
commit c2ca2d8e91
4 changed files with 37 additions and 1 deletions

View file

@ -1468,6 +1468,7 @@ function unset_config($name, $plugin=NULL) {
/**
* Remove all the config variables for a given plugin.
* NOTE: this function is called from lib/db/upgrade.php
*
* @param string $plugin a plugin, for example 'quiz' or 'qtype_multichoice';
* @return boolean whether the operation succeeded.