diff --git a/module/backup/model.php b/module/backup/model.php index f919679233..5b0879353e 100644 --- a/module/backup/model.php +++ b/module/backup/model.php @@ -284,10 +284,8 @@ class backupModel extends model if(file_exists($backupPath . $name . ".{$type}")) return $backupPath . $name . ".{$type}"; if(file_exists($backupPath . $name . ".{$type}.php")) return $backupPath . $name . ".{$type}.php"; } - else - { - if(file_exists($backupPath . $name . ".{$type}")) return $backupPath . $name . ".{$type}"; - } + + if(file_exists($backupPath . $name . ".{$type}")) return $backupPath . $name . ".{$type}"; return false; }