return false;
}
- $this->user = User::staticGet('nickname', $nickname);
+ $this->user = User::getKV('nickname', $nickname);
if (!$this->user) {
// TRANS: Client error displayed when trying to perform a gallery action with an unknown user.
$this->profile = $this->user->getProfile();
if (!$this->profile) {
- // TRANS: Server error displayed when trying to perform a gallery action with a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}