fixed missing global regression

This commit is contained in:
Petr Skoda 2010-09-17 07:58:04 +00:00
parent ba4082f51d
commit 03dd057556

View File

@ -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));
}