Skip to content

Commit

Permalink
Merged changes from 14 STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Aug 24, 2004
1 parent b80f6f1 commit e69ef14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/adminlib.php
Expand Up @@ -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!");
Expand Down Expand Up @@ -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!");
Expand Down

0 comments on commit e69ef14

Please sign in to comment.