add global $CFG to hotpot_restore_dates function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user