summaryrefslogtreecommitdiff
path: root/classes/Profile.php
diff options
context:
space:
mode:
authorTrever Fischer <wm161@wm161.net>2009-10-15 05:16:37 -0400
committerTrever Fischer <wm161@wm161.net>2009-10-15 05:16:37 -0400
commit1241e651ae54adfc429aceb92a2bc873f1c82f8d (patch)
tree5dee463dbc9c82dfe53fb466e0a37f01de467c3e /classes/Profile.php
parent6b5810f5d562260a0143446982bf22ef50298d80 (diff)
Added support for profile designs to the twitter API
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)) {