return false;
} else {
if (!empty($this->tag)) {
- $this->notices = $this->getTaggedNotices($this->tag, $this->limit);
+ $this->notices = $this->getTaggedNotices();
} else {
- $this->notices = $this->getNotices($this->limit);
+ $this->notices = $this->getNotices();
}
return true;
}
$profile = $user->getProfile();
if (!$profile) {
common_log_db_error($user, 'SELECT', __FILE__);
- $this->serverError(_('User without matching profile'));
+ $this->serverError(_('User without matching profile.'));
return null;
}
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);