Remove superfluous exit-statement

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-08-01 15:05:58 +02:00
parent 14e54ff41a
commit 526eb84b71
8 changed files with 1 additions and 12 deletions

View File

@@ -22,7 +22,6 @@ require './lib/init.php';
// redirect if this customer page is hidden via settings
if (Settings::IsInList('panel.customer_hide_options','extras')) {
redirectTo('customer_index.php');
exit;
}
if (isset($_POST['id'])) {
@@ -39,7 +38,6 @@ if ($page == 'overview') {
// redirect if this customer sub-page is hidden via settings
if (Settings::IsInList('panel.customer_hide_options','extras.directoryprotection')) {
redirectTo('customer_index.php');
exit;
}
if ($action == '') {
@@ -279,7 +277,6 @@ if ($page == 'overview') {
// redirect if this customer sub-page is hidden via settings
if (Settings::IsInList('panel.customer_hide_options','extras.pathoptions')) {
redirectTo('customer_index.php');
exit;
}
if ($action == '') {
@@ -543,7 +540,6 @@ if ($page == 'overview') {
// redirect if this customer sub-page is hidden via settings
if (Settings::IsInList('panel.customer_hide_options','extras.backup')) {
redirectTo('customer_index.php');
exit;
}
if (Settings::Get('system.backupenabled') == 1)