forked from leftypol/leftypol
pass by reference
This commit is contained in:
parent
dbca2948ae
commit
bc691addff
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@
|
||||||
return $stats;
|
return $stats;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function countUniqueIps($markAsCounted, $timespan, $_board) {
|
private static function countUniqueIps(&$markAsCounted, $timespan, $_board) {
|
||||||
$unique_query = query(
|
$unique_query = query(
|
||||||
sprintf("SELECT DISTINCT ip FROM ``posts_%s`` WHERE time > %d",
|
sprintf("SELECT DISTINCT ip FROM ``posts_%s`` WHERE time > %d",
|
||||||
$_board['uri'],
|
$_board['uri'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue