Merged changes from 14 STABLE

This commit is contained in:
moodler
2004-08-24 04:58:06 +00:00
parent b80f6f11a4
commit e69ef14bf2
+2 -2
View File
@@ -2,7 +2,7 @@
// Contains functions that only administrators will ever need to use
function upgrade_enrol_plugins($return) {
global $CFG;
global $CFG, $db;
if (!$mods = get_list_of_plugins("enrol") ) {
error("No modules installed!");
@@ -87,7 +87,7 @@ function upgrade_enrol_plugins($return) {
function upgrade_activity_modules($return) {
/// Find and check all modules and load them up or upgrade them if necessary
global $CFG;
global $CFG, $db;
if (!$mods = get_list_of_plugins("mod") ) {
error("No modules installed!");