Skip to content
Snippets Groups Projects
Commit b634488e authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Comment out output to console

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1516 44740490-163a-0410-bde0-09ae8108e29a
parent cf5d1517
No related branches found
No related tags found
No related merge requests found
...@@ -269,13 +269,13 @@ class sspmod_statistics_Aggregator { ...@@ -269,13 +269,13 @@ class sspmod_statistics_Aggregator {
$filename = $this->statdir . '/' . $rulename . '-' . $tres . '-' . $fileno . '.stat'; $filename = $this->statdir . '/' . $rulename . '-' . $tres . '-' . $fileno . '.stat';
if (file_exists($filename)) { if (file_exists($filename)) {
echo('Reading existing file: ' . $filename . "\n"); // echo('Reading existing file: ' . $filename . "\n");
$previousData = unserialize(file_get_contents($filename)); $previousData = unserialize(file_get_contents($filename));
$filledresult = $this->cummulateData($previousData, $filledresult); $filledresult = $this->cummulateData($previousData, $filledresult);
} }
// store file // store file
echo('Writing to file: ' . $filename . "\n"); # echo('Writing to file: ' . $filename . "\n");
file_put_contents($filename, serialize($filledresult), LOCK_EX); file_put_contents($filename, serialize($filledresult), LOCK_EX);
} }
......
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