aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks')
-rw-r--r--mod/bookmarks/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index e3f7394d2..996421acf 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -31,7 +31,7 @@ function bookmarks_init() {
register_entity_url_handler('bookmark_url','object','bookmarks');
// Shares widget
- add_widget_type('bookmarks',elgg_echo("bookmarks"),elgg_echo("bookmarks:widget:description"));
+ elgg_register_widget_type('bookmarks',elgg_echo("bookmarks"),elgg_echo("bookmarks:widget:description"));
// Register entity type
register_entity_type('object','bookmarks');