summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/statistics/page.inc.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php
index 6224d69c..a16461f4 100644
--- a/modules-available/statistics/page.inc.php
+++ b/modules-available/statistics/page.inc.php
@@ -236,29 +236,9 @@ class Page_Statistics extends Page
return;
}
- $sortColumn = Request::any('sortColumn');
- $sortDirection = Request::any('sortDirection');
-
- $filters = StatisticsFilter::parseQuery();
- $filterSet = new StatisticsFilterSet($filters);
- $filterSet->setSort($sortColumn, $sortDirection);
-
- if (!$filterSet->setAllowedLocationsFromPermission('view.' . $this->show)) {
- Message::addError('main.no-permission');
- Util::redirect('?do=main');
- }
Message::addError('main.value-invalid', 'show', $this->show);
}
- private function redirectFirst($where, $join, $args)
- {
- // TODO Annoying at times, restore this?
- $res = Database::queryFirst("SELECT machineuuid FROM machine $join WHERE ($where) LIMIT 1", $args);
- if ($res !== false) {
- Util::redirect('?do=statistics&uuid=' . $res['machineuuid']);
- }
- }
-
protected function doAjax()
{
if (!User::load())