Missing getTarget function in targetedrss10action.php

This commit is contained in:
Mikael Nordfeldth 2015-07-21 02:17:34 +02:00
parent 5b09a150bc
commit 7ce32619cc

View File

@ -39,6 +39,11 @@ class TargetedRss10Action extends Rss10Action
$this->target = User::getByNickname($this->trimmed('nickname'))->getProfile(); $this->target = User::getByNickname($this->trimmed('nickname'))->getProfile();
} }
public function getTarget()
{
return $this->target;
}
function getImage() function getImage()
{ {
return $this->target->avatarUrl(AVATAR_PROFILE_SIZE); return $this->target->avatarUrl(AVATAR_PROFILE_SIZE);