MEME
This commit is contained in:
parent
cf0d3990c7
commit
f775a4d0cb
@ -250,7 +250,6 @@ function deleteFile(int $fileID) :string
|
|||||||
$stmtDelete->bind_param('i', $fileID);
|
$stmtDelete->bind_param('i', $fileID);
|
||||||
}
|
}
|
||||||
$stmtDelete->execute();
|
$stmtDelete->execute();
|
||||||
$stmtDelete->fetch();
|
|
||||||
if ($file_location) {
|
if ($file_location) {
|
||||||
if (unlink($file_location) && $stmtDelete->affected_rows > 0) {
|
if (unlink($file_location) && $stmtDelete->affected_rows > 0) {
|
||||||
$out['Status'] = 'Success';
|
$out['Status'] = 'Success';
|
||||||
|
Loading…
Reference in New Issue
Block a user