remove rolling average
This commit is contained in:
parent
9137949dbf
commit
9d9ae86c55
|
@ -39,7 +39,6 @@
|
|||
<th>{% trans "IPs last hour" %}</th>
|
||||
<th>{% trans "IPs last day" %}</th>
|
||||
<th>{% trans "IPs last week" %}</th>
|
||||
<th>{% trans "7 day PPH moving average" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -77,9 +76,6 @@
|
|||
<td class="minimal">
|
||||
<span>{{ boardStat.weekly_ips }}</span>
|
||||
</td>
|
||||
<td class="minimal">
|
||||
<span>{{ boardStat.rolling_average }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
|
@ -162,7 +162,7 @@
|
|||
SELECT HOUR(FROM_UNIXTIME(time)) AS hour, DAYOFYEAR(FROM_UNIXTIME(time)) AS day, COUNT(*) AS count
|
||||
FROM ``posts_%s``
|
||||
WHERE time > %d
|
||||
GROUP BY hour, day",
|
||||
GROUP BY hour, day)",
|
||||
$_board['uri'],
|
||||
time()-$timespan)
|
||||
) or error(db_error());
|
||||
|
|
Loading…
Reference in New Issue