aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 07:14:26 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 07:14:26 +0000
commit9ac2ca3377d4e8271a9a7718f7715e043aeb2de1 (patch)
tree201d3ef34ba385183f3274dc0f880d56af942254 /mod/bookmarks
parent131b559a6136fc6f6f9b1c9aac54898b9a3aa74c (diff)
downloadelgg-9ac2ca3377d4e8271a9a7718f7715e043aeb2de1.tar.gz
elgg-9ac2ca3377d4e8271a9a7718f7715e043aeb2de1.tar.bz2
Default permissions for new actions is logged_in, so no need to make that explicit
git-svn-id: http://code.elgg.org/elgg/trunk@8420 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks')
-rw-r--r--mod/bookmarks/start.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index 001a68eb7..a80cda857 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -18,9 +18,9 @@ function bookmarks_init() {
// actions
$action_path = "$root/actions/bookmarks";
- elgg_register_action('bookmarks/save', "$action_path/save.php", 'logged_in');
- elgg_register_action('bookmarks/delete', "$action_path/delete.php", 'logged_in');
- elgg_register_action('bookmarks/share', "$action_path/share.php", 'logged_in');
+ elgg_register_action('bookmarks/save', "$action_path/save.php");
+ elgg_register_action('bookmarks/delete', "$action_path/delete.php");
+ elgg_register_action('bookmarks/share', "$action_path/share.php");
// menus
elgg_register_menu_item('site', array(
@@ -37,6 +37,7 @@ function bookmarks_init() {
elgg_extend_view('css/elgg', 'bookmarks/css');
elgg_extend_view('js/elgg', 'bookmarks/js');
+
elgg_extend_view('page/links', 'bookmarks/page_links');
// Register granular notification for this type
@@ -48,7 +49,7 @@ function bookmarks_init() {
elgg_register_plugin_hook_handler('notify:entity:message', 'object', 'bookmarks_notify_message');
// Register a URL handler for bookmarks
- elgg_register_entity_url_handler('object','bookmarks', 'bookmark_url');
+ elgg_register_entity_url_handler('object', 'bookmarks', 'bookmark_url');
// Register entity type for search
elgg_register_entity_type('object', 'bookmarks');