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 | |
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')
-rw-r--r-- | mod/blog/start.php | 2 | ||||
-rwxr-xr-x | mod/bookmarks/views/default/bookmarks/stats.php | 2 | ||||
-rw-r--r-- | mod/bookmarks/views/default/widgets/bookmarks/view.php | 2 | ||||
-rw-r--r-- | mod/members/index.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php index bbae1eb6c..b3a8e32ee 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -36,7 +36,7 @@ function blog_init() { // Set up menus add_menu(elgg_echo('blog'), "{$CONFIG->wwwroot}pg/blog/", array()); - extend_view('css', 'blog/css'); + elgg_extend_view('css', 'blog/css'); register_page_handler('blog', 'blog_page_handler'); register_page_handler('blog_ajax', 'blog_ajax_page_handler'); 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){ diff --git a/mod/members/index.php b/mod/members/index.php index 2962f7768..5ad37aa70 100644 --- a/mod/members/index.php +++ b/mod/members/index.php @@ -45,7 +45,7 @@ $area2 = elgg_view_title($pagetitle); //get the correct view based on filter switch($filter){ case "newest": - $content = list_entities("user","",0,10,false); + $content = elgg_list_entities("user","",0,10,false); break; case "pop": $filter_content = list_entities_by_relationship_count('friend', true, '', '', 0, 10, false); |