From 7244ac4ba7562369949348116cf407452d538be5 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 2 Nov 2007 13:02:56 +0000 Subject: [PATCH] There was a mistake in the dir being created. It must be the backup temp area one. MDL-11912 Merged from MOODLE_19_STABLE --- backup/backuplib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/backuplib.php b/backup/backuplib.php index e49dac9ab3..2b9aadc20e 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -2227,7 +2227,7 @@ $userid = $parts[1]; // Create group dir first - $status = check_dir_exists($userinfo['basedir'] . '/' . $group, true); + $status = check_dir_exists("$CFG->dataroot/temp/backup/$preferences->backup_unique_code/user_files/". $group, true); } $status = $status && backup_copy_file($userinfo['basedir'] . '/' . $userinfo['userfolder'], -- 2.39.5