mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Changed an "if" a bit... :-)
This commit is contained in:
parent
eab0f15aa3
commit
26a71d0d05
@ -68,10 +68,10 @@
|
||||
$status = false;
|
||||
}
|
||||
//get backup config
|
||||
if (! $backup_config = backup_get_config()) {
|
||||
$status = false;
|
||||
}
|
||||
if ($status) {
|
||||
if (! $backup_config = backup_get_config()) {
|
||||
$status = false;
|
||||
}
|
||||
//get courses
|
||||
if ($courses = get_records("course")) {
|
||||
//For each course, we check (insert, update) the backup_course table
|
||||
|
Loading…
x
Reference in New Issue
Block a user