From: Mikael Nordfeldth Date: Mon, 23 Jun 2014 17:12:10 +0000 (+0200) Subject: There was no getNickname() for User_group X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=86fa4f5fe55db51a39972cd390f6b0660c91e718;p=quix0rs-gnu-social.git There was no getNickname() for User_group --- diff --git a/classes/User_group.php b/classes/User_group.php index d81449faa1..aad38b6358 100644 --- a/classes/User_group.php +++ b/classes/User_group.php @@ -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',