There was no getNickname() for User_group

This commit is contained in:
Mikael Nordfeldth 2014-06-23 19:12:10 +02:00
parent 4f59abea9a
commit 86fa4f5fe5
1 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,11 @@ class User_group extends Managed_DataObject
return $this->_profile[$this->profile_id];
}
public function getNickname()
{
return $this->getProfile()->getNickname();
}
public static function defaultLogo($size)
{
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',