Code

Removed interval settings
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Aug 2010 09:06:54 +0000 (09:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Aug 2010 09:06:54 +0000 (09:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19412 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/statistics/class_statistics.inc

index ab415a01d8840947cf4d7cd9951ee3075037d640..e5a48c5f0bea038eb6d12c2ef906183a1bbdc19f 100644 (file)
@@ -13,7 +13,6 @@ class statistics extends plugin
     var $graphID_1 = 0;
     var $graphID_2 = 0;
 
-    var $graph1Interval = 1;
     var $graph1DatePicker1 = 0;
     var $graph1DatePicker2 = 0;
 
@@ -113,15 +112,10 @@ class statistics extends plugin
     {
         if(isset($_POST['graph1DatePicker1'])) $this->graph1DatePicker1 = get_post('graph1DatePicker1');
         if(isset($_POST['graph1DatePicker2'])) $this->graph1DatePicker2 = get_post('graph1DatePicker2');
-        if(isset($_POST['graph1Interval'])) $this->graph1Interval = get_post('graph1Interval');
-
-        if(!$this->graph1Interval) $this->graph1Interval = 1;
 
         $smarty = get_smarty();
         $smarty->assign('graph1DatePicker1', $this->graph1DatePicker1);
         $smarty->assign('graph1DatePicker2', $this->graph1DatePicker2);
-        $smarty->assign('graph1Interval', $this->graph1Interval);
-        $smarty->assign('intervalValues', array('1','2','5','7','30'));
 
         // Do not render anything if we are not prepared to send and receive data via rpc.
         $smarty->assign("rpcConfigured", $this->rpcConfigured);