Update share.class.php

This commit is contained in:
obigal 2013-07-03 08:37:14 -04:00 committed by Sebastian Grewe
parent eb17508862
commit fd427f77de

View File

@ -277,7 +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 UNIX_TIMESTAMP(time) BETWEEN (?) AND (? + 20)
AND id > ?
AND UNIX_TIMESTAMP(time) >= ?
AND UNIX_TIMESTAMP(time) <= ( ? + 60 )