+ $user = $this->getTargetUser($this->arg('user'));
+ if (!($user instanceof User)) {
+ // TRANS: Client error displayed trying to perform an action related to a non-existing user.
+ $this->clientError(_('No such user.'), 404);
+ }
+ $this->target = $user->getProfile();