summaryrefslogtreecommitdiff
path: root/modules/notification
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-25 10:09:14 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-25 10:09:14 -0700
commit7a5301ba0546b9ee461689246f5ab9f86da8be03 (patch)
tree3f1c48540376edf3e64075f2e729753afe704a6b /modules/notification
parent3ff91e5e33eee7a3f4941a8036c71089d0f2074e (diff)
Notifying on item_updated is overbroad. Fix for ticket #1286.
Diffstat (limited to 'modules/notification')
-rw-r--r--modules/notification/helpers/notification_event.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/notification/helpers/notification_event.php b/modules/notification/helpers/notification_event.php
index df9dbe48..5cd10de8 100644
--- a/modules/notification/helpers/notification_event.php
+++ b/modules/notification/helpers/notification_event.php
@@ -21,15 +21,6 @@ class notification_event_Core {
// The assumption is that the exception was logged at a lower level, but we
// 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) {
- try {
- 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());
- }
- }
-
static function item_created($item) {
try {
notification::send_item_add($item);