summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics
diff options
context:
space:
mode:
authorSimon Rettberg2022-09-28 10:55:46 +0200
committerSimon Rettberg2022-09-28 10:55:46 +0200
commitef2ef58b1cc19864b0d35ab653d8926d31dd3188 (patch)
tree6d35c828130c864a5a00ca5b8435806915f79763 /modules-available/statistics
parent[statistics] Prevent out-of-order event handling (diff)
downloadslx-admin-ef2ef58b1cc19864b0d35ab653d8926d31dd3188.tar.gz
slx-admin-ef2ef58b1cc19864b0d35ab653d8926d31dd3188.tar.xz
slx-admin-ef2ef58b1cc19864b0d35ab653d8926d31dd3188.zip
[statistics] Remove test code
Diffstat (limited to 'modules-available/statistics')
-rw-r--r--modules-available/statistics/api.inc.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/modules-available/statistics/api.inc.php b/modules-available/statistics/api.inc.php
index 6f4917b0..0a5ba54c 100644
--- a/modules-available/statistics/api.inc.php
+++ b/modules-available/statistics/api.inc.php
@@ -1,15 +1,5 @@
<?php
-if (Request::any('action') === 'test' && isLocalExecution()) {
- $q = new HardwareQuery(HardwareInfo::RAM_MODULE);
- $speed = $q->addGlobalColumn('Speed');
- $q->addLocalColumn('Configured Speed')->addCondition('<', $speed);
- $speed->addCondition('>', 2666);
- $q->addMachineWhere('clientip', '>', 5);
- echo $q->buildQuery(), "\n";
- exit;
-}
-
if (empty($_POST['type'])) die('Missing options.');
$type = mb_strtolower($_POST['type']);