From c27eac2d2a970e76a1204757bbe15da8efb2870c Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 21:48:24 +0000 Subject: Refs #1439: Using new page_owner functions in all of core git-svn-id: http://code.elgg.org/elgg/trunk@7140 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messageboard/index.php | 2 +- mod/messageboard/views/default/messageboard/forms/add.php | 2 +- mod/messageboard/views/default/widgets/messageboard/view.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mod/messageboard') diff --git a/mod/messageboard/index.php b/mod/messageboard/index.php index 88438bb85..ff661ce9c 100644 --- a/mod/messageboard/index.php +++ b/mod/messageboard/index.php @@ -11,7 +11,7 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); // Get the user who is the owner of the message board -$entity = get_entity(page_owner()); +$entity = elgg_get_page_owner(); // Get any annotations for their message board $contents = $entity->getAnnotations('messageboard', 50, 0, 'desc'); diff --git a/mod/messageboard/views/default/messageboard/forms/add.php b/mod/messageboard/views/default/messageboard/forms/add.php index b26527b06..ec61ebee7 100644 --- a/mod/messageboard/views/default/messageboard/forms/add.php +++ b/mod/messageboard/views/default/messageboard/forms/add.php @@ -14,7 +14,7 @@
- + diff --git a/mod/messageboard/views/default/widgets/messageboard/view.php b/mod/messageboard/views/default/widgets/messageboard/view.php index dde360961..223cbc007 100644 --- a/mod/messageboard/views/default/widgets/messageboard/view.php +++ b/mod/messageboard/views/default/widgets/messageboard/view.php @@ -8,7 +8,7 @@ */ //get the full page owner entity -$user = get_entity(page_owner()); +$user = elgg_get_page_owner(); //the number of message to display $num_display = 5; @@ -46,7 +46,7 @@ if (isloggedin()) { - + -- cgit v1.2.3