summaryrefslogtreecommitdiff
path: root/core/models/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/models/item.php')
-rw-r--r--core/models/item.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/models/item.php b/core/models/item.php
index 9292983d..f529a471 100644
--- a/core/models/item.php
+++ b/core/models/item.php
@@ -93,6 +93,8 @@ class Item_Model extends ORM_MPTT {
}
public function delete() {
+ module::event("item_before_delete", $this);
+
$original_path = $this->file_path();
$original_resize_path = $this->resize_path();
$original_thumb_path = $this->thumb_path();