[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-cvs] ossec-hids: search.php (HEAD) [davelowe]



Module name:	ossec-hids
Changes by:	davelowe	07/08/12 00:35:19

Modified files:
	search.php

Log message:
Removed ability for real time monitoring from the search page

Index: search.php
===================================================================
RCS file: /usr/cvsroot/ossec-ui/ossec/Site/search.php,v
diff -u -r1.3 -r1.4
--- search.php	12 Aug 2007 03:33:05 -0000	1.3
+++ search.php	12 Aug 2007 03:35:18 -0000	1.4
@@ -52,32 +52,6 @@
     }
 }
 
-
-$rt_sk = "";
-$sv_sk = 'checked="checked"';
-if(isset($_POST['monitoring']) && ($_POST['monitoring'] == 1))
-{
-    $rt_sk = 'checked="checked"';
-    $sv_sk = "";
-
-    /* Cleaning up time */
-    $USER_final = $u_final_time;
-    $USER_init = $u_init_time;
-    $USER_monitoring = 1;
-
-    /* Cleaning up fields */
-    $_POST['search'] = "Search";
-    unset($_POST['initdate']);
-    unset($_POST['finaldate']);
-
-    /* Deleting search */
-    if($USER_searchid != 0)
-    {
-        os_cleanstored($USER_searchid);
-    }
-}
-
-
 /* Reading user input -- being very careful parsing it */
 $datepattern = "/^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2})$/";
 if(isset($_POST['initdate']))


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.