mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
parent
2cbf9ed743
commit
bb3d4e6345
3 changed files with 7 additions and 5 deletions
|
@ -69,7 +69,9 @@ if (is_file(RESTORE_CORRUPT_CONFIRM_FILE)) {
|
|||
}
|
||||
|
||||
// Delete restore confirm file & build file
|
||||
unlink($buildDownloader->savePath);
|
||||
if (isset($buildDownloader->savePath)) {
|
||||
unlink($buildDownloader->savePath);
|
||||
}
|
||||
unlink(RESTORE_CORRUPT_CONFIRM_FILE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue