Skip to content
Snippets Groups Projects
Unverified Commit f64df4af authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

statistics: remove unused variables

parent 73159671
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,6 @@ class sspmod_statistics_LogCleaner ...@@ -59,7 +59,6 @@ class sspmod_statistics_LogCleaner
$this->statconfig->getValue('datestart', 0), $this->statconfig->getValue('datelength', 15), $this->statconfig->getValue('offsetspan', 44) $this->statconfig->getValue('datestart', 0), $this->statconfig->getValue('datelength', 15), $this->statconfig->getValue('offsetspan', 44)
); );
$results = array();
$sessioncounter = array(); $sessioncounter = array();
$i = 0; $i = 0;
...@@ -76,7 +75,6 @@ class sspmod_statistics_LogCleaner ...@@ -76,7 +75,6 @@ class sspmod_statistics_LogCleaner
// Parse log, and extract epoch time and rest of content. // Parse log, and extract epoch time and rest of content.
$epoch = $logparser->parseEpoch($logline); $epoch = $logparser->parseEpoch($logline);
$content = $logparser->parseContent($logline); $content = $logparser->parseContent($logline);
$action = trim($content[5]);
if (($i % 10000) == 0) { if (($i % 10000) == 0) {
echo("Read line " . $i . "\n"); echo("Read line " . $i . "\n");
...@@ -162,7 +160,6 @@ class sspmod_statistics_LogCleaner ...@@ -162,7 +160,6 @@ class sspmod_statistics_LogCleaner
$i++; $i++;
$content = $logparser->parseContent($logline); $content = $logparser->parseContent($logline);
$action = trim($content[5]);
if (($i % 10000) == 0) { if (($i % 10000) == 0) {
echo("Read line " . $i . "\n"); echo("Read line " . $i . "\n");
......
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