function prepare($args)
{
- common_debug("UserrssAction");
-
parent::prepare($args);
$nickname = $this->trimmed('nickname');
$this->user = User::staticGet('nickname', $nickname);
$profile = $user->getProfile();
if (!$profile) {
common_log_db_error($user, 'SELECT', __FILE__);
- // TRANS: Server error displayed in user RSS when user does not have a matching profile.
- $this->serverError(_('User without matching profile.'));
+ // TRANS: Error message displayed when referring to a user without a profile.
+ $this->serverError(_('User has no profile.'));
return null;
}
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);