]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileformaction.php
Cosmetic changes to common_redirect, clientError, serverError
[quix0rs-gnu-social.git] / lib / profileformaction.php
index 4c738523a40b6846d5c05a0d534aa010e6da8336..bfc7a3c7dedf12d11388e346623afab435cd3df2 100644 (file)
@@ -77,7 +77,6 @@ class ProfileFormAction extends RedirectingAction
         if (!$id) {
             // TRANS: Client error displayed when trying to change user options without specifying a user to work on.
             $this->clientError(_('No profile specified.'));
-            return false;
         }
 
         $this->profile = Profile::getKV('id', $id);
@@ -85,7 +84,6 @@ class ProfileFormAction extends RedirectingAction
         if (!$this->profile) {
             // TRANS: Client error displayed when trying to change user options without specifying an existing user to work on.
             $this->clientError(_('No profile with that ID.'));
-            return false;
         }
 
         return true;