Update share.class.php

This commit is contained in:
obigal 2013-07-02 14:43:11 -04:00 committed by Sebastian Grewe
parent ef234fe80b
commit 691611eb13

View File

@ -277,6 +277,7 @@ class Share {
SUBSTRING_INDEX( `username` , '.', 1 ) AS account, id
FROM $this->table
WHERE upstream_result = 'Y'
AND UNIX_TIMESTAMP(time) BETWEEN (?) AND (? + 120)
AND id > ?
AND UNIX_TIMESTAMP(time) >= ?
AND UNIX_TIMESTAMP(time) <= ( ? + 60 )