]> git.mjollnir.org Git - moodle.git/commitdiff
Changed an "if" a bit... :-)
authorstronk7 <stronk7>
Fri, 14 May 2004 17:07:48 +0000 (17:07 +0000)
committerstronk7 <stronk7>
Fri, 14 May 2004 17:07:48 +0000 (17:07 +0000)
admin/backup.php

index 14fd644e4ebacb50f0111c2f84a96147f4549f2a..295a69bcf00ff5a366c71614b161de3e498c7150 100644 (file)
             $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