silence unlink

This commit is contained in:
Ian 2015-07-31 14:20:55 +02:00
parent b2514ae4fe
commit 6b71a78187

View file

@ -297,7 +297,7 @@ EOS;
$done = true;
} else {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Existing Zip file Error, Code:' . $res. '. The autoupdater will try to download again...');
unlink($update);
@unlink($update);
sleep(1);
$done = @copy($url, $update) ? true : false;
sleep(1);