aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-05-11 02:07:09 +0200
committerSem <sembrestels@riseup.net>2012-05-11 02:07:09 +0200
commit6398b80ea9e22bc6d14c01c86667af7b4e73c3bb (patch)
tree8c6f67ec66bc827c93b6510a9bcbe3b161bac111 /start.php
parent53b419ceb3cbcf52a77c7f93d2eea205c8a2c6e1 (diff)
downloadelgg-6398b80ea9e22bc6d14c01c86667af7b4e73c3bb.tar.gz
elgg-6398b80ea9e22bc6d14c01c86667af7b4e73c3bb.tar.bz2
Updated languages files.
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');