Commit d4077fac authored by Ad Schellevis's avatar Ad Schellevis

cleanup

parent a4335147
......@@ -56,8 +56,7 @@ if ( !isset($config['virtualip']['vip']) || !is_array($config['virtualip']['vip'
}
$a_vip = &$config['virtualip']['vip'];
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
} elseif ($_SERVER['REQUEST_METHOD'] === 'POST') {
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (!empty($_POST['carp_maintenancemode'])) {
interfaces_carp_set_maintenancemode(!isset($config["virtualip_carp_maintenancemode"]));
} elseif (!empty($_POST['disablecarp'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment