diff options
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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'); |