aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-26 12:43:28 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-26 12:43:28 +0000
commit0cc190deb5ec0c9608255192c042f573fd834019 (patch)
tree4cd2d31d33109d268ac595140375b604f1399276 /mod/messages
parent5c8493c1456bb656dd4c6448fb0edde7af81b325 (diff)
downloadelgg-0cc190deb5ec0c9608255192c042f573fd834019.tar.gz
elgg-0cc190deb5ec0c9608255192c042f573fd834019.tar.bz2
changed elgg_get_page_owner() to elgg_get_page_owner_entity() to be more consistent
git-svn-id: http://code.elgg.org/elgg/trunk@7943 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messages')
-rw-r--r--mod/messages/inbox.php2
-rw-r--r--mod/messages/read.php2
-rw-r--r--mod/messages/sent.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/messages/inbox.php b/mod/messages/inbox.php
index b5c54a4e6..4b2d11bbf 100644
--- a/mod/messages/inbox.php
+++ b/mod/messages/inbox.php
@@ -7,7 +7,7 @@
gatekeeper();
-$page_owner = elgg_get_page_owner();
+$page_owner = elgg_get_page_owner_entity();
if (!$page_owner) {
register_error(elgg_echo());
forward();
diff --git a/mod/messages/read.php b/mod/messages/read.php
index 0c0fa60dd..5a735f18e 100644
--- a/mod/messages/read.php
+++ b/mod/messages/read.php
@@ -13,7 +13,7 @@ if (!$message) {
}
elgg_set_page_owner_guid($message->getOwnerGUID());
-$page_owner = elgg_get_page_owner();
+$page_owner = elgg_get_page_owner_entity();
$title = $message->title;
diff --git a/mod/messages/sent.php b/mod/messages/sent.php
index 36c9badd3..f884643e0 100644
--- a/mod/messages/sent.php
+++ b/mod/messages/sent.php
@@ -7,7 +7,7 @@
gatekeeper();
-$page_owner = elgg_get_page_owner();
+$page_owner = elgg_get_page_owner_entity();
if (!$page_owner) {
register_error(elgg_echo());
forward();