summaryrefslogtreecommitdiff
path: root/classes/Profile.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-24 19:59:46 -0400
committerEvan Prodromou <evan@status.net>2009-10-24 19:59:46 -0400
commit3c724ccd0df0d205a9567e435b6060300537f904 (patch)
tree4be361f0112444c5c8949a1e486efd1063030681 /classes/Profile.php
parent967de946654e96793d11413a46067ac95b356a64 (diff)
parent6d6de3c1c7b359815aa0381b4cde3fcc8258cc80 (diff)
Merge branch '0.9.x' into location
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 5fb7bb678..53d07fb2f 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -52,6 +52,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)) {