Remove exit statement - use else instead

This commit is contained in:
raphi 2015-04-17 09:43:34 +00:00
parent 034419f403
commit 4d12ec4f22

View file

@ -19,8 +19,7 @@ if (!RequestUtils::isPost()) {
$tpl = new Tpl; $tpl = new Tpl;
$tpl->assign('seconds', $spamPrevention); $tpl->assign('seconds', $spamPrevention);
$tpl->draw('spam'); $tpl->draw('spam');
exit; } else {
}
// Parse request // Parse request
$pattern = RequestUtils::parsePattern(); $pattern = RequestUtils::parsePattern();
$keyboardLayout = RequestUtils::parseKeyboardLayout(); $keyboardLayout = RequestUtils::parseKeyboardLayout();
@ -57,5 +56,5 @@ if (!RequestUtils::isPost()) {
// Cleanup temporary SVG images // Cleanup temporary SVG images
unlink($back); unlink($back);
unlink($front); unlink($front);
}
} }