diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-16 15:53:58 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-16 15:53:58 +0000 |
commit | a3a582078615c4ff5c28054582813ec5c7179bf9 (patch) | |
tree | 09e713039dddd4cf8fc0b56f70e64fe87e494284 /mod/bookmarks/views | |
parent | 43752d47c7796cbc765d0caa395111c79bf2d3de (diff) | |
download | elgg-a3a582078615c4ff5c28054582813ec5c7179bf9.tar.gz elgg-a3a582078615c4ff5c28054582813ec5c7179bf9.tar.bz2 |
Replaced more calls to deprecated functions.
git-svn-id: http://code.elgg.org/elgg/trunk@5421 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/views')
-rwxr-xr-x | mod/bookmarks/views/default/bookmarks/stats.php | 2 | ||||
-rw-r--r-- | mod/bookmarks/views/default/widgets/bookmarks/view.php | 2 |
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){ |