Просмотр исходного кода

Remove unnecessary confirmation dialogs

Kristan Kenney 6 лет назад
Родитель
Сommit
87f87320a5

+ 0 - 1
web/add/cron/autoupdate/index.php

@@ -13,7 +13,6 @@ if ((!isset($_GET['token'])) || ($_SESSION['token'] != $_GET['token'])) {
 
 if ($_SESSION['user'] == 'admin') {
     exec (HESTIA_CMD."v-add-cron-hestia-autoupdate", $output, $return_var);
-    $_SESSION['error_msg'] = __('Autoupdate has been successfully enabled');
     unset($output);
 }
 

+ 0 - 1
web/add/cron/reports/index.php

@@ -12,7 +12,6 @@ if ((!isset($_GET['token'])) || ($_SESSION['token'] != $_GET['token'])) {
 }
 
 exec (HESTIA_CMD."v-add-cron-reports ".$user, $output, $return_var);
-$_SESSION['error_msg'] = __('Cronjob email reporting has been successfully enabled');
 unset($output);
 
 header("Location: /list/cron/");

+ 0 - 1
web/delete/cron/autoupdate/index.php

@@ -13,7 +13,6 @@ if ((!isset($_GET['token'])) || ($_SESSION['token'] != $_GET['token'])) {
 
 if ($_SESSION['user'] == 'admin') {
     exec (HESTIA_CMD."v-delete-cron-hestia-autoupdate", $output, $return_var);
-    $_SESSION['error_msg'] = __('Autoupdate has been successfully disabled');
     unset($output);
 }
 

+ 0 - 1
web/delete/cron/reports/index.php

@@ -12,7 +12,6 @@ if ((!isset($_GET['token'])) || ($_SESSION['token'] != $_GET['token'])) {
 }
 
 exec (HESTIA_CMD."v-delete-cron-reports ".$user, $output, $return_var);
-$_SESSION['error_msg'] = __('Cronjob email reporting has been successfully disabled');
 unset($output);
 
 header("Location: /list/cron/");