Permalink
Browse files

add global $CFG to hotpot_restore_dates function

  • Loading branch information...
1 parent e1c15ef commit 97782e0c0760f89758f6adecd07705d80d5cbe25 gbateson committed Oct 12, 2006
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit 97782e0

Please sign in to comment.