From 97782e0c0760f89758f6adecd07705d80d5cbe25 Mon Sep 17 00:00:00 2001 From: gbateson Date: Thu, 12 Oct 2006 08:01:22 +0000 Subject: [PATCH] add global $CFG to hotpot_restore_dates function --- mod/hotpot/restorelib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/hotpot/restorelib.php b/mod/hotpot/restorelib.php index 1b1b6713f6..ff1d1842ec 100644 --- a/mod/hotpot/restorelib.php +++ b/mod/hotpot/restorelib.php @@ -480,6 +480,7 @@ function hotpot_restore_logs($restore, $log) { return $status ? $log : false; } function hotpot_restore_dates($recordtype, &$restore, &$xml, $TAGS, $NAMETAG='NAME') { + global $CFG; if (!empty($restore->course_startdateoffset)) { // check course backup data directory exists -- 2.39.5