Remove unnecessary exit calls after redirect() and util_show_error_page() calls

This commit is contained in:
Jonathan Ernst
2006-07-06 17:59:52 +00:00
committed by WineHQ
parent 735a2bc65f
commit 54c484de8c
36 changed files with 17 additions and 153 deletions

View File

@@ -44,11 +44,7 @@ function checkAppMaintainerInput( $maintainReason )
if(!$_SESSION['current']->isLoggedIn())
{
util_show_error_page("You need to be logged in to apply to be a maintainer.");
exit;
}
/* if we have a versionId to check against see if */
/* the user is already a maintainer */
@@ -70,10 +66,7 @@ if( $aClean['sMaintainReason'] )
// check the input for empty/invalid fields
$errors = checkAppMaintainerInput($aClean['sMaintainReason']);
if(!empty($errors))
{
util_show_error_page("We found the following errors:","<ul>$errors</ul><br />Please go back and correct them.");
exit;
}
// header
if($aClean['iSuperMaintainer'])