Remove duplicate return.

This commit is contained in:
Hans-Jürgen Tappe 2010-01-22 21:43:50 +00:00
parent 9c5fd08d90
commit 2606c0b439

View File

@ -386,7 +386,6 @@ class db_backup
$name = $dir.'/database_backup/'.basename($list[0]); $name = $dir.'/database_backup/'.basename($list[0]);
if(!($f = fopen($name, 'rb'))) if(!($f = fopen($name, 'rb')))
{ {
return "Cant open $name for reading<br>";
return lang("Cant open '%1' for %2", $filename, lang("reading"))."<br>\n"; return lang("Cant open '%1' for %2", $filename, lang("reading"))."<br>\n";
} }
} }