Cosmetic changes to common_redirect, clientError, serverError
Since these functions exit (or throw exception) after running, there is no need to have a 'return' statement or similar afterwards.
This commit is contained in:
@@ -73,7 +73,6 @@ class GroupinboxAction extends GroupAction
|
||||
if ($nickname != $nicknameArg) {
|
||||
$url = common_local_url('groupinbox', array('nickname' => $nickname));
|
||||
common_redirect($url);
|
||||
return false;
|
||||
}
|
||||
|
||||
$localGroup = Local_group::getKV('nickname', $nickname);
|
||||
|
Reference in New Issue
Block a user