mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
fixed missing global regression
This commit is contained in:
parent
ba4082f51d
commit
03dd057556
@ -262,6 +262,7 @@ function message_get_providers_from_file($component) {
|
||||
* @param $component - examples: 'moodle', 'mod/forum', 'block/quiz_results'
|
||||
*/
|
||||
function message_uninstall($component) {
|
||||
global $DB;
|
||||
return $DB->delete_records('message_providers', array('component' => $component));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user