From: hickert Date: Thu, 19 Aug 2010 09:06:54 +0000 (+0000) Subject: Removed interval settings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=558b2c33b4e82cc8608eb7420814c063d75bc2b8;p=gosa.git Removed interval settings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19412 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc index ab415a01d..e5a48c5f0 100644 --- a/gosa-core/plugins/generic/statistics/class_statistics.inc +++ b/gosa-core/plugins/generic/statistics/class_statistics.inc @@ -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);