X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-maintenance.php;h=9fc9045f46203358202f5e437ea169fe396b9592;hp=019cb57969c9253913f14a0bcd22035a9da939a3;hb=7b0f17cd637e388049d2167811e4332cec1e979b;hpb=aea4f2a51ffa6f483056c6ce167c8c6fd8ca6129 diff --git a/inc/modules/admin/what-maintenance.php b/inc/modules/admin/what-maintenance.php index 019cb57969..9fc9045f46 100644 --- a/inc/modules/admin/what-maintenance.php +++ b/inc/modules/admin/what-maintenance.php @@ -50,18 +50,18 @@ if (IS_FORM_SENT()) { switch (getConfig('maintenance')) { case 'Y': - $target_mode = "N"; + $target_mode = 'N'; $out = getMessage('ADMIN_MAINTENANCE_DEACTIVATED'); break; case 'N': - $target_mode = "Y"; + $target_mode = 'Y'; $out = getMessage('ADMIN_MAINTENANCE_ACTIVATED'); break; } // Update config - UPDATE_CONFIG('maintenance', $target_mode); + updateConfiguration('maintenance', $target_mode); // Load template LOAD_TEMPLATE('admin_settings_saved', false, $out);