mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
add global $CFG to hotpot_restore_dates function
This commit is contained in:
parent
e1c15ef7c9
commit
97782e0c07
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user