diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-22 18:10:12 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-22 18:10:12 +0000 |
commit | 1e349b673ae1aac87c722db9c93a1a68861afc6a (patch) | |
tree | 71b4ee518392dc969c0789234919875a588855c7 /mod/bookmarks/index.php | |
parent | f7b20eb31aeab71ab42e1f4e66d5b12506e9d526 (diff) | |
download | elgg-1e349b673ae1aac87c722db9c93a1a68861afc6a.tar.gz elgg-1e349b673ae1aac87c722db9c93a1a68861afc6a.tar.bz2 |
Updated booksmarks to 1.7 API.
git-svn-id: http://code.elgg.org/elgg/trunk@5852 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/index.php')
-rw-r--r-- | mod/bookmarks/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/bookmarks/index.php b/mod/bookmarks/index.php index 32f4b23f6..21166f7a9 100644 --- a/mod/bookmarks/index.php +++ b/mod/bookmarks/index.php @@ -36,7 +36,7 @@ if(page_owner() == get_loggedin_userid()) { // List bookmarks set_context('search'); -$bookmarks = list_entities('object','bookmarks',page_owner()); +$bookmarks = elgg_list_entities(array('type' => 'object', 'subtype' => 'bookmarks', 'owner_guid' => page_owner())); if(!$bookmarks && ($page_owner->guid == get_loggedin_user()->guid)) $bookmarks = elgg_view('help/bookmarks'); $area2 .= $bookmarks; @@ -49,7 +49,7 @@ if(page_owner() != get_loggedin_user()->guid){ // include a view for plugins to extend $area3 .= elgg_view("bookmarks/sidebar", array("object_type" => 'bookmarks')); -if(isloggedin()){ +if(isloggedin()){ // if logged in, get the bookmarklet $area3 .= elgg_view("bookmarks/bookmarklet"); } |