X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FProfile.php;h=53d07fb2ffa3aea1b1400fa13ba5eb9a39f4342b;hb=3c724ccd0df0d205a9567e435b6060300537f904;hp=5fb7bb6782753f4d3111142e0a00db3b175b6295;hpb=967de946654e96793d11413a46067ac95b356a64;p=quix0rs-gnu-social.git diff --git a/classes/Profile.php b/classes/Profile.php index 5fb7bb6782..53d07fb2ff 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)) {