mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
One-time use variables.
This commit is contained in:
parent
bcf57cd68a
commit
95575e1096
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