summaryrefslogtreecommitdiff
path: root/classes/Profile.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-27 15:00:35 +0100
committerSarven Capadisli <csarven@status.net>2009-10-27 15:00:35 +0100
commitac47015e2b9b4a82ef497d203fb971b7f128ad41 (patch)
treec9bb929b2062f4437bafea1830a8af08d877015f /classes/Profile.php
parent0e029d728429009e7791ae052df4e9998e309fab (diff)
parent0b4390e7f2322a15f16919425de039d555b3e516 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'classes/Profile.php')
-rw-r--r--classes/Profile.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index 4a069ee84..a78a27f4a 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -46,6 +46,11 @@ class Profile extends Memcached_DataObject
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
+ function getUser()
+ {
+ return User::staticGet('id', $this->id);
+ }
+
function getAvatar($width, $height=null)
{
if (is_null($height)) {