minor fix

This commit is contained in:
Shish Moom 2009-07-14 12:52:55 -07:00
parent e23b80f822
commit 8dac266af4

View file

@ -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());