From a0b66609e66f1dfe75e79b0f045573ef06e0fe3c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 17 Jan 2020 17:56:40 +0100 Subject: [statistics_reporting] Remove dead code --- modules-available/statistics_reporting/page.inc.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules-available/statistics_reporting/page.inc.php b/modules-available/statistics_reporting/page.inc.php index 45f93144..c3e469fe 100644 --- a/modules-available/statistics_reporting/page.inc.php +++ b/modules-available/statistics_reporting/page.inc.php @@ -139,13 +139,6 @@ class Page_Statistics_Reporting extends Page ); } - foreach (array(1,2,5,7,14,30,90) as $day) { - $data['days'][] = array( - 'days' => $day, - 'selected' => ($day === $this->days) ? 'selected' : '', - ); - } - $data['from'] = date_format(date_timestamp_set(new DateTime(), $this->from), 'Y-m-d'); $data['to'] = date_format(date_timestamp_set(new DateTime(), $this->to), 'Y-m-d'); -- cgit v1.2.3-55-g7522