Remove exit statement - use else instead
This commit is contained in:
parent
034419f403
commit
4d12ec4f22
1 changed files with 37 additions and 38 deletions
|
@ -19,8 +19,7 @@ if (!RequestUtils::isPost()) {
|
|||
$tpl = new Tpl;
|
||||
$tpl->assign('seconds', $spamPrevention);
|
||||
$tpl->draw('spam');
|
||||
exit;
|
||||
}
|
||||
} else {
|
||||
// Parse request
|
||||
$pattern = RequestUtils::parsePattern();
|
||||
$keyboardLayout = RequestUtils::parseKeyboardLayout();
|
||||
|
@ -57,5 +56,5 @@ if (!RequestUtils::isPost()) {
|
|||
// Cleanup temporary SVG images
|
||||
unlink($back);
|
||||
unlink($front);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue