summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-01-17 17:56:40 +0100
committerSimon Rettberg2020-01-17 17:56:40 +0100
commita0b66609e66f1dfe75e79b0f045573ef06e0fe3c (patch)
tree2040ea6dbcab7d03793674666a1d1dc956712a56
parent[baseconfig_bwlp] Add SLX_FORCE_RESOLUTION (diff)
downloadslx-admin-a0b66609e66f1dfe75e79b0f045573ef06e0fe3c.tar.gz
slx-admin-a0b66609e66f1dfe75e79b0f045573ef06e0fe3c.tar.xz
slx-admin-a0b66609e66f1dfe75e79b0f045573ef06e0fe3c.zip
[statistics_reporting] Remove dead code
-rw-r--r--modules-available/statistics_reporting/page.inc.php7
1 files changed, 0 insertions, 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');