Fix !group autocomplete

"Call to undefined method User_group::getFullname"
This commit is contained in:
Chimo 2016-02-22 20:33:25 -05:00
parent c67b89e56b
commit 54da2526ed

View File

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