aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/notification.php')
-rw-r--r--engine/lib/notification.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index 23db54e1d..dac0f6b8c 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -364,6 +364,12 @@
// Get config data
global $CONFIG;
+ if (trigger_plugin_hook('object:notifications',$object_type,array(
+ 'event' => $event,
+ 'object_type' => $object_type,
+ 'object' => $object,
+ ),true)) return true;
+
// Have we registered notifications for this type of entity?
if (isset($CONFIG->register_objects[$object->getType()][$object->getSubtype()])) {