summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-10-23 11:15:25 -0400
committerCraig Andrews <candrews@integralblue.com>2009-10-23 11:15:25 -0400
commitc93b9b9523d64f29e5d2d9885febd0ac4c167a20 (patch)
treeef7535b99fd2ad2843186f3670bfac3ba1f7bd4a /classes
parente73631f614414d1aa724e926527862a955e55356 (diff)
parent1241e651ae54adfc429aceb92a2bc873f1c82f8d (diff)
Merge commit 'refs/merge-requests/1815' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'classes')
-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)) {