From 6e44111e0ea9863d142454b57363ec309f19e582 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 19 Jan 2009 10:28:03 -0800 Subject: [PATCH] clean up tags when deleting an image --- core/imageboard.pack.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 3c014a11..0f38d6e1 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -275,6 +275,7 @@ class Image { * Other actions */ public function delete() { + $this->delete_tags_from_image(); $this->database->execute("DELETE FROM images WHERE id=?", array($this->id)); unlink($this->get_image_filename());