From bd2bf451693ce4c8fbe390786080e76b2f9e56ae Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Thu, 21 Aug 2008 15:10:02 +0000 Subject: [PATCH] adding missing global $DB in mnet functions --- mnet/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mnet/lib.php b/mnet/lib.php index 274983fb58..958695f5c7 100644 --- a/mnet/lib.php +++ b/mnet/lib.php @@ -442,7 +442,7 @@ function ip_in_range($address, $network, $mask) { * constant otherwise */ function mnet_permit_rpc_call($includefile, $functionname, $class=false) { - global $CFG, $MNET_REMOTE_CLIENT; + global $CFG, $MNET_REMOTE_CLIENT, $DB; if (file_exists($CFG->dirroot . $includefile)) { include_once $CFG->dirroot . $includefile; -- 2.39.5