summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-15 17:12:12 +0100
committerSimon Rettberg2019-02-15 17:12:12 +0100
commitacae99572ec256c0fce6c021339df918cd55b5b1 (patch)
treea476b858457ceb8f5b9cf12bc078ce330f651ef5
parent[dnbd3] Fix recursive client counting (diff)
downloadslx-admin-acae99572ec256c0fce6c021339df918cd55b5b1.tar.gz
slx-admin-acae99572ec256c0fce6c021339df918cd55b5b1.tar.xz
slx-admin-acae99572ec256c0fce6c021339df918cd55b5b1.zip
[dnbd3] Remove debug spam
-rw-r--r--modules-available/dnbd3/page.inc.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules-available/dnbd3/page.inc.php b/modules-available/dnbd3/page.inc.php
index 03c7e6cd..d8dd6cb8 100644
--- a/modules-available/dnbd3/page.inc.php
+++ b/modules-available/dnbd3/page.inc.php
@@ -340,10 +340,8 @@ class Page_Dnbd3 extends Page
$showLocs = false;
while ($row = $res->fetch(PDO::FETCH_ASSOC)) {
settype($row['locationid'], 'int');
- trigger_error('Bla: ' . $row['locationid'] . ', blu: ' . isset($locCount[$row['locationid']]));
$loc =& $locCount[$row['locationid']];
$loc['clientCount'] = $row['cnt'];
- trigger_error('Setting ' . $row['locationid'] . ' to ' . $row['cnt'] . ', rec was ' . $loc['recCount']);
$loc['recCount'] += $row['cnt'];
if ($row['locationid'] !== 0) {
$showLocs = true;
@@ -352,7 +350,6 @@ class Page_Dnbd3 extends Page
if (isset($loc['parents'])) {
foreach ($loc['parents'] as $p) {
$locCount[$p]['keep'] = true;
- trigger_error('[' . $p . '] Adding ' . $row['cnt'] . ' to ' . $locCount[$p]['recCount']);
$locCount[$p]['recCount'] += $row['cnt'];
}
}