diff options
Diffstat (limited to 'mod/bookmarks')
-rw-r--r-- | mod/bookmarks/start.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php index fa837c1d2..b4a4ef46b 100644 --- a/mod/bookmarks/start.php +++ b/mod/bookmarks/start.php @@ -51,9 +51,7 @@ function bookmarks_init() { )); } // Register granular notification for this type - if (is_callable('register_notification_object')) { - register_notification_object('object', 'bookmarks', elgg_echo('bookmarks:new')); - } + register_notification_object('object', 'bookmarks', elgg_echo('bookmarks:new')); // Listen to notification events and supply a more useful message elgg_register_plugin_hook_handler('notify:entity:message', 'object', 'bookmarks_notify_message'); |