]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/groupbyid.php
FormAction wants getInstructions to be protected
[quix0rs-gnu-social.git] / actions / groupbyid.php
index 5baaab5e6da08f37a0ab5564a63e9863afa87282..b82a861e97319931b3f322cd1024e59e241969bf 100644 (file)
@@ -71,7 +71,6 @@ class GroupbyidAction extends Action
         if (!$id) {
             // TRANS: Client error displayed referring to a group's permalink without providing a group ID.
             $this->clientError(_('No ID.'));
-            return false;
         }
 
         common_debug("Got ID $id");
@@ -81,7 +80,6 @@ class GroupbyidAction extends Action
         if (!$this->group) {
             // TRANS: Client error displayed referring to a group's permalink for a non-existing group ID.
             $this->clientError(_('No such group.'), 404);
-            return false;
         }
 
         return true;