mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
parent
75990902ae
commit
dcd19e54a9
3 changed files with 4 additions and 12 deletions
|
@ -196,9 +196,7 @@ function unlink_attach($filename, $mode = false)
|
|||
$filename = $upload_dir . '/' . $filename;
|
||||
}
|
||||
|
||||
$deleted = @unlink($filename);
|
||||
|
||||
return $deleted;
|
||||
return @unlink($filename);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue