aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-12-05 01:32:32 +0100
committerSem <sembrestels@riseup.net>2012-12-05 01:32:32 +0100
commit75d7fd1106dcd97e2a3ccb25bd4df780a66b82dd (patch)
treef17476c8ffb7da7dc7488ebdbf1851968b4485b8 /mod/messages/start.php
parent306c043a720bc51070652366ef929bc612f0bcbb (diff)
parentb3b12344bfee097b06019d6ee83b1952cb3088ea (diff)
downloadelgg-75d7fd1106dcd97e2a3ccb25bd4df780a66b82dd.tar.gz
elgg-75d7fd1106dcd97e2a3ccb25bd4df780a66b82dd.tar.bz2
Merge branch 'messages-reply' of git://github.com/sembrestels/Elgg into foxglove-1
Conflicts: mod/messages/pages/messages/read.php
Diffstat (limited to 'mod/messages/start.php')
-rw-r--r--mod/messages/start.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php
index 2e61d6e21..7971816e3 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -93,6 +93,9 @@ function messages_page_handler($page) {
$page[1] = elgg_get_logged_in_user_entity()->username;
}
+ $user = get_user_by_username($page[1]);
+ //elgg_set_page_owner_guid($user->guid);
+
$base_dir = elgg_get_plugins_path() . 'messages/pages/messages';
switch ($page[0]) {