summaryrefslogtreecommitdiff
path: root/modules/notification/helpers/notification_event.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-16 00:15:23 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-16 00:15:23 -0800
commit434d351b2f0fc2a048f561665cb1d828d1126f9c (patch)
tree12b23d33fecf0e5b053a79ed1bf3b8a604c98372 /modules/notification/helpers/notification_event.php
parent654b103355f1bda15246e651fa91f3c9e08c3901 (diff)
parentdcf4b5e71ae8a097f133a06485d60c5fb3400824 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Conflicts: modules/gallery/models/item.php
Diffstat (limited to 'modules/notification/helpers/notification_event.php')
-rw-r--r--modules/notification/helpers/notification_event.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/notification/helpers/notification_event.php b/modules/notification/helpers/notification_event.php
index bc1303f5..76afac9c 100644
--- a/modules/notification/helpers/notification_event.php
+++ b/modules/notification/helpers/notification_event.php
@@ -22,8 +22,9 @@ class notification_event_Core {
// don't want to screw up the processing that was generating the notification
// so we don't pass the exception up the call stack
static function item_updated($original, $new) {
+ Kohana_Log::add("error",print_r("item_updated({$original->title}, {$new->title})",1));
try {
- notification::send_item_updated($new);
+ notification::send_item_updated($original, $new);
} catch (Exception $e) {
Kohana_Log::add("error", "@todo notification_event::item_updated() failed");
Kohana_Log::add("error", $e->getMessage() . "\n" . $e->getTraceAsString());