minor fix
This commit is contained in:
parent
e23b80f822
commit
8dac266af4
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ class Image {
|
||||||
global $database;
|
global $database;
|
||||||
$this->delete_tags_from_image();
|
$this->delete_tags_from_image();
|
||||||
$database->execute("DELETE FROM images WHERE id=?", array($this->id));
|
$database->execute("DELETE FROM images WHERE id=?", array($this->id));
|
||||||
log_info("core-image", "Deleted Image #{$image->id} ({$image->hash})");
|
log_info("core-image", "Deleted Image #{$this->id} ({$this->hash})");
|
||||||
|
|
||||||
unlink($this->get_image_filename());
|
unlink($this->get_image_filename());
|
||||||
unlink($this->get_thumb_filename());
|
unlink($this->get_thumb_filename());
|
||||||
|
|
Reference in a new issue