mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Added little check
This commit is contained in:
parent
486f978c4d
commit
16f77249aa
1 changed files with 4 additions and 2 deletions
|
@ -55,9 +55,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//if we've selected to backup users info, then backup files too
|
//if we've selected to backup users info, then backup files too
|
||||||
|
if ($status) {
|
||||||
if ($preferences->mods["assignment"]->userinfo) {
|
if ($preferences->mods["assignment"]->userinfo) {
|
||||||
$status = backup_assignment_files($bf,$preferences);
|
$status = backup_assignment_files($bf,$preferences);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return $status;
|
return $status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue