]> git.mjollnir.org Git - moodle.git/commitdiff
add global $CFG to hotpot_restore_dates function
authorgbateson <gbateson>
Thu, 12 Oct 2006 08:01:22 +0000 (08:01 +0000)
committergbateson <gbateson>
Thu, 12 Oct 2006 08:01:22 +0000 (08:01 +0000)
mod/hotpot/restorelib.php

index 1b1b6713f64fcb22eacdddba42b2f4c554f83696..ff1d1842ec68b21da55bec3c915f71267121e903 100644 (file)
@@ -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