function avatar()
{
- $avatar = $this->profile->getAvatar(AVATAR_STREAM_SIZE);
- if (empty($avatar)) {
- $avatar = $this->profile->getAvatar(73);
- }
- return (!empty($avatar)) ?
- $avatar->displayUrl() :
- Avatar::defaultImage(AVATAR_STREAM_SIZE);
+ return $this->profile->avatarUrl(AVATAR_STREAM_SIZE);
}
function location()
{
return array();
}
-}
\ No newline at end of file
+}