Removed unnecessary exit - calls

Signed-off-by: Florian Aders <eleras@froxlor.org>
This commit is contained in:
Florian Aders
2016-02-22 12:10:06 +01:00
parent f00a1ca092
commit deb19f2625
13 changed files with 13 additions and 44 deletions

View File

@@ -201,7 +201,6 @@ if ($action == '') {
} else {
standard_error('templatenotfound');
exit;
}
} elseif($action == 'add') {
@@ -358,7 +357,6 @@ if ($action == '') {
eval("echo \"" . getTemplate("templates/templates_add_1") . "\";");
} else {
standard_error('alltemplatesdefined');
exit;
}
} else {
@@ -371,7 +369,6 @@ if ($action == '') {
if (Database::num_rows() == count($file_templates)) {
standard_error('alltemplatesdefined');
exit;
} else {
@@ -514,6 +511,5 @@ if ($action == '') {
} else {
standard_error('templatenotfound');
exit;
}
}