From 9176dadfd69c15d9f16581d119569a7745c53067 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 29 Apr 2009 00:29:53 +0000 Subject: Move the module::event("before_item_delete") into the Item_Model::delete method. This will insure that it will get called for all events. Currently it is not being called for children of an album when the parent album is deleted. --- core/controllers/quick.php | 1 - 1 file changed, 1 deletion(-) (limited to 'core/controllers/quick.php') diff --git a/core/controllers/quick.php b/core/controllers/quick.php index d62f3af0..32febb31 100644 --- a/core/controllers/quick.php +++ b/core/controllers/quick.php @@ -120,7 +120,6 @@ class Quick_Controller extends Controller { $parent->save(); } - module::event("item_before_delete", $item); $item->delete(); message::success($msg); -- cgit v1.2.3