X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpeopletagsubscriptions.php;h=64edd0929025b6c126955cfb8d22d4810b3c3d3f;hb=3154302b538aaf28b222357527de3dc3bc77dda9;hp=c49784296914899e90dd62e43607939bba2a95a6;hpb=7a9777df053a9007b5eaa71f5437584065b615a5;p=quix0rs-gnu-social.git diff --git a/actions/peopletagsubscriptions.php b/actions/peopletagsubscriptions.php index c497842969..64edd09290 100644 --- a/actions/peopletagsubscriptions.php +++ b/actions/peopletagsubscriptions.php @@ -76,15 +76,13 @@ class PeopletagsubscriptionsAction extends Action $args['page'] = $this->arg['page']; } common_redirect(common_local_url('peopletagsbyuser', $args), 301); - return false; } - $user = User::staticGet('nickname', $nickname); + $user = User::getKV('nickname', $nickname); if (!$user) { // TRANS: Client error displayed trying to perform an action related to a non-existing user. $this->clientError(_('No such user.'), 404); - return false; } $this->profile = $user->getProfile(); @@ -92,7 +90,6 @@ class PeopletagsubscriptionsAction extends Action if (!$this->profile) { // TRANS: Error message displayed when referring to a user without a profile. $this->serverError(_('User has no profile.')); - return false; } $this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;