From f8457e04e211ea039b5de380cbf6f3bda24ee439 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 29 Mar 2018 11:30:09 -0400 Subject: [PATCH] clean out commented out code --- web/includes/actions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/web/includes/actions.php b/web/includes/actions.php index 7744406a5..6a07fbe11 100644 --- a/web/includes/actions.php +++ b/web/includes/actions.php @@ -371,7 +371,6 @@ if ( !empty($_REQUEST['mid']) && canEdit( 'Monitors', $_REQUEST['mid'] ) ) { } else { dbQuery( 'INSERT INTO Zones SET MonitorId=?, '.implode( ', ', $changes ), array( $mid ) ); } - //if ( $cookies ) session_write_close(); if ( daemonCheck() ) { if ( $_REQUEST['newZone']['Type'] == 'Privacy' ) { zmaControl( $monitor, 'stop' ); @@ -425,8 +424,6 @@ if ( !empty($_REQUEST['mid']) && canEdit( 'Monitors', $_REQUEST['mid'] ) ) { $deletedZid = 1; } if ( $deletedZid ) { - //if ( $cookies ) - //session_write_close(); if ( daemonCheck() ) { if ( $zone['Type'] == 'Privacy' ) { zmaControl( $mid, 'stop' ); @@ -601,8 +598,6 @@ if ( canEdit( 'Monitors' ) ) { $new_monitor = new Monitor($mid); //fixDevices(); - //if ( $cookies ) - //session_write_close(); $new_monitor->zmcControl('start'); $new_monitor->zmaControl('start');