aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/river/user
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 13:29:51 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 13:29:51 +0000
commit7fab6390acd5cfcdd8458d43eae4ff984aefae43 (patch)
tree42c2bf208b019c5304e8e2ffbe1255e0e10aeccc /mod/profile/views/default/river/user
parent8b36f8a7741489661c0da6f7e91a3da2682153f1 (diff)
downloadelgg-7fab6390acd5cfcdd8458d43eae4ff984aefae43.tar.gz
elgg-7fab6390acd5cfcdd8458d43eae4ff984aefae43.tar.bz2
new river work committed for profiles
git-svn-id: https://code.elgg.org/elgg/trunk@2741 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default/river/user')
-rw-r--r--mod/profile/views/default/river/user/default/profileiconupdate.php4
-rw-r--r--mod/profile/views/default/river/user/default/profileupdate.php12
2 files changed, 6 insertions, 10 deletions
diff --git a/mod/profile/views/default/river/user/default/profileiconupdate.php b/mod/profile/views/default/river/user/default/profileiconupdate.php
index c56699afe..464f07abc 100644
--- a/mod/profile/views/default/river/user/default/profileiconupdate.php
+++ b/mod/profile/views/default/river/user/default/profileiconupdate.php
@@ -1,8 +1,6 @@
<?php
- $statement = $vars['statement'];
-
- $performed_by = $statement->getSubject();
+ $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$string = sprintf(elgg_echo("profile:river:iconupdate"),$url);
diff --git a/mod/profile/views/default/river/user/default/profileupdate.php b/mod/profile/views/default/river/user/default/profileupdate.php
index 36f775991..8f3690ae2 100644
--- a/mod/profile/views/default/river/user/default/profileupdate.php
+++ b/mod/profile/views/default/river/user/default/profileupdate.php
@@ -1,11 +1,9 @@
<?php
-
- $statement = $vars['statement'];
-
- $performed_by = $statement->getSubject();
-
- $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
- $string = sprintf(elgg_echo("profile:river:update"),$url);
+
+ $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("profile:river:update"),$url);
?>