aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/views')
-rwxr-xr-xmod/bookmarks/views/default/bookmarks/stats.php2
-rw-r--r--mod/bookmarks/views/default/widgets/bookmarks/view.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/stats.php b/mod/bookmarks/views/default/bookmarks/stats.php
index cd47a94cc..07450fd2e 100755
--- a/mod/bookmarks/views/default/bookmarks/stats.php
+++ b/mod/bookmarks/views/default/bookmarks/stats.php
@@ -3,7 +3,7 @@
* All site bookmark stats
**/
-$count_bookmarks = get_entities("object", "bookmarks",0,"",10,0,true,0,null,0,0);
+$count_bookmarks = elgg_get_entities("object", "bookmarks",0,"",10,0,true,0,null,0,0);
$count_bookmark_comments = count_annotations(0, "object", "bookmarks","generic_comment");
echo "<h3>Bookmark stats</h3>";
diff --git a/mod/bookmarks/views/default/widgets/bookmarks/view.php b/mod/bookmarks/views/default/widgets/bookmarks/view.php
index 482a4e3d9..4240b95f0 100644
--- a/mod/bookmarks/views/default/widgets/bookmarks/view.php
+++ b/mod/bookmarks/views/default/widgets/bookmarks/view.php
@@ -17,7 +17,7 @@ if(!$num)
$num = 4;
//grab the users bookmarked items
-$bookmarks = get_entities('object', 'bookmarks',$vars['entity']->owner_guid, "", $num, 0, false);
+$bookmarks = elgg_get_entities('object', 'bookmarks',$vars['entity']->owner_guid, "", $num, 0, false);
if($bookmarks){