aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/start.php b/start.php
index d6a5ee8b1..241d15aa8 100644
--- a/start.php
+++ b/start.php
@@ -46,9 +46,8 @@ function videolist_init() {
//add a widget
elgg_register_widget_type('videolist', elgg_echo('videolist'), elgg_echo('videolist:widget:description'));
- if (is_callable('register_notification_object')) {
- register_notification_object('object', 'videolist_item', elgg_echo('videolist:new'));
- }
+ // Register granular notification for this type
+ register_notification_object('object', 'videolist_item', elgg_echo('videolist:new'));
// Register entity type for search
elgg_register_entity_type('object', 'videolist_item');