mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-28466 remove the enrol_authorize data
If there are no records, remove the plugin
This commit is contained in:
parent
5710055d41
commit
c2ca2d8e91
4 changed files with 37 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue