Skip to content

Commit 87f8732

Browse files
author
Kristan Kenney
committed
Remove unnecessary confirmation dialogs
1 parent 0ff9d42 commit 87f8732

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

web/add/cron/autoupdate/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
if ($_SESSION['user'] == 'admin') {
1515
exec (HESTIA_CMD."v-add-cron-hestia-autoupdate", $output, $return_var);
16-
$_SESSION['error_msg'] = __('Autoupdate has been successfully enabled');
1716
unset($output);
1817
}
1918

web/add/cron/reports/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
}
1313

1414
exec (HESTIA_CMD."v-add-cron-reports ".$user, $output, $return_var);
15-
$_SESSION['error_msg'] = __('Cronjob email reporting has been successfully enabled');
1615
unset($output);
1716

1817
header("Location: /list/cron/");

web/delete/cron/autoupdate/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
if ($_SESSION['user'] == 'admin') {
1515
exec (HESTIA_CMD."v-delete-cron-hestia-autoupdate", $output, $return_var);
16-
$_SESSION['error_msg'] = __('Autoupdate has been successfully disabled');
1716
unset($output);
1817
}
1918

web/delete/cron/reports/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
}
1313

1414
exec (HESTIA_CMD."v-delete-cron-reports ".$user, $output, $return_var);
15-
$_SESSION['error_msg'] = __('Cronjob email reporting has been successfully disabled');
1615
unset($output);
1716

1817
header("Location: /list/cron/");

0 commit comments

Comments
 (0)