]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
Merge branch '0.9.x' into location
[quix0rs-gnu-social.git] / classes / Profile.php
index 5fb7bb6782753f4d3111142e0a00db3b175b6295..53d07fb2ffa3aea1b1400fa13ba5eb9a39f4342b 100644 (file)
@@ -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)) {