summaryrefslogtreecommitdiff
path: root/core/controllers/quick.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-02 04:58:19 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-02 04:58:19 +0000
commita70f3bf38683af21f1e81ec1a5e74aa83ab46e38 (patch)
treed35ffdf7140397d4d5a52959ff3b3d2fc39280b8 /core/controllers/quick.php
parent01d00dfd8680c9e03fda9c4a0fb3dce04a88e2f8 (diff)
Have the quick delete file "item_before_delete" so that search and
notification modules can do their thing. In addition, correct search so it works properly and doesn't try to create an Item_id_Model class.
Diffstat (limited to 'core/controllers/quick.php')
-rw-r--r--core/controllers/quick.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/controllers/quick.php b/core/controllers/quick.php
index 20072044..6fd0ae62 100644
--- a/core/controllers/quick.php
+++ b/core/controllers/quick.php
@@ -106,6 +106,7 @@ class Quick_Controller extends Controller {
$msg = t("Deleted photo <b>%title</b>", array("title" => $item->title));
}
+ module::event("item_before_delete", $item);
$item->delete();
message::success($msg);