From: moodler Date: Tue, 7 Oct 2003 14:00:09 +0000 (+0000) Subject: If there aren't any users, don't do anything. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8c02baf617c0030de3b5991604ef6cf7512896b3;p=moodle.git If there aren't any users, don't do anything. --- diff --git a/backup/backuplib.php b/backup/backuplib.php index 30641e329d..6d07a6043f 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -805,8 +805,8 @@ //End Users tag fwrite ($bf,end_tag("USERS",2,true)); } else { - //There isn't users. Impossible !! - $status = false; + // There aren't any users. + $status = true; } return $status;