diff --git a/modules/metarefresh/lib/ARP.php b/modules/metarefresh/lib/ARP.php index ddcfc858045b93dee66d5a28001d9c4354316cd5..b9a9d7d980bf60d49337465857b1866c59eecc7d 100644 --- a/modules/metarefresh/lib/ARP.php +++ b/modules/metarefresh/lib/ARP.php @@ -29,8 +29,6 @@ class sspmod_metarefresh_ARP { $config = SimpleSAML_Configuration::getInstance(); include($config->getPathValue('attributemap', 'attributemap/') . $attributemap . '.php'); $this->attributes = $attributemap; - - # print_r($attributemap); exit; } private function surround($name) { @@ -64,7 +62,6 @@ class sspmod_metarefresh_ARP { foreach($this->metadata AS $metadata) { - #$print_r($metadata); exit; $xml .= $this->getEntryXML($metadata['metadata']); } diff --git a/modules/statistics/lib/Aggregator.php b/modules/statistics/lib/Aggregator.php index 0a566eb8c2ebad5b8527ff1bf7b3064b1d9677f3..6806724ca558243b5093898aac64c64d27f6fb95 100644 --- a/modules/statistics/lib/Aggregator.php +++ b/modules/statistics/lib/Aggregator.php @@ -150,7 +150,7 @@ class sspmod_statistics_Aggregator { if (isset($tresconfig['customDateHandler'])) $dh = $tresconfig['customDateHandler']; $timeslot = $datehandler['default']->toSlot($epoch, $tresconfig['slot']); - $fileslot = $datehandler[$dh]->toSlot($epoch, $tresconfig['fileslot']); //print_r($content); + $fileslot = $datehandler[$dh]->toSlot($epoch, $tresconfig['fileslot']); if (isset($rule['action']) && ($action !== $rule['action'])) continue; @@ -232,7 +232,6 @@ class sspmod_statistics_Aggregator { // The last slot. $maxslot = $slotlist[count($slotlist)-1]; - #print_r($slotlist); // Get start and end slot number within the file, based on the fileslot. $start = (int)$datehandler['default']->toSlot( diff --git a/modules/statistics/lib/StatDataset.php b/modules/statistics/lib/StatDataset.php index 1116ca17b24a5af579b241a743155d9907f29a0f..fab589d87663b2d88c272f30e6ee7fce6d8f2c52 100644 --- a/modules/statistics/lib/StatDataset.php +++ b/modules/statistics/lib/StatDataset.php @@ -213,8 +213,7 @@ class sspmod_statistics_StatDataset { $dateformat_period = $this->timeresconfig->getValue('dateformat-period'); $dateformat_intra = $this->timeresconfig->getValue('dateformat-intra'); $axislabelint = $this->timeresconfig->getValue('axislabelint'); - - #$max = 25; + $xentries = count($this->results); $lastslot = 0; $i = 0;