Skip to content
Snippets Groups Projects
Commit cab6528a authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Remove commented code.

parent 8ac8d408
No related branches found
No related tags found
No related merge requests found
......@@ -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']);
}
......
......@@ -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(
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment