]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-maintenance.php
Naming convention applied, new API function introduced:
[mailer.git] / inc / modules / admin / what-maintenance.php
index 5f3154dcea12e19889f8bc62ad40c4abd03b41c7..d1abaa24d8b3528a6a3d9a937df33e0ef884ccd2 100644 (file)
@@ -50,12 +50,12 @@ if (isFormSent()) {
        switch (getConfig('maintenance')) {
                case 'Y':
                        $target_mode = 'N';
        switch (getConfig('maintenance')) {
                case 'Y':
                        $target_mode = 'N';
-                       $out = '{--ADMIN_MAINTENANCE_DEACTIVATED--}';
+                       $message = '{--ADMIN_MAINTENANCE_DEACTIVATED--}';
                        break;
 
                case 'N':
                        $target_mode = 'Y';
                        break;
 
                case 'N':
                        $target_mode = 'Y';
-                       $out = '{--ADMIN_MAINTENANCE_ACTIVATED--}';
+                       $message = '{--ADMIN_MAINTENANCE_ACTIVATED--}';
                        break;
        }
 
                        break;
        }
 
@@ -63,7 +63,7 @@ if (isFormSent()) {
        updateConfiguration('maintenance', $target_mode);
 
        // Load template
        updateConfiguration('maintenance', $target_mode);
 
        // Load template
-       loadTemplate('admin_settings_saved', false, $out);
+       loadTemplate('admin_settings_saved', false, $message);
 } else {
        switch (getConfig('maintenance')) {
                case 'Y': // Maintenance mode is active
 } else {
        switch (getConfig('maintenance')) {
                case 'Y': // Maintenance mode is active