From a3a582078615c4ff5c28054582813ec5c7179bf9 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 16 Mar 2010 15:53:58 +0000 Subject: Replaced more calls to deprecated functions. git-svn-id: http://code.elgg.org/elgg/trunk@5421 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/start.php | 2 +- mod/bookmarks/views/default/bookmarks/stats.php | 2 +- mod/bookmarks/views/default/widgets/bookmarks/view.php | 2 +- mod/members/index.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mod') 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 "

Bookmark stats

"; 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); -- cgit v1.2.3