check for since=0 in Notice::stream()
This commit is contained in:
parent
791f5defaf
commit
78968a31a7
@ -1003,7 +1003,7 @@ class Notice extends Memcached_DataObject
|
|||||||
$cache = common_memcache();
|
$cache = common_memcache();
|
||||||
|
|
||||||
if (empty($cache) ||
|
if (empty($cache) ||
|
||||||
$since_id != 0 || $max_id != 0 || !is_null($since) ||
|
$since_id != 0 || $max_id != 0 || (!is_null($since) && $since > 0) ||
|
||||||
($offset + $limit) > NOTICE_CACHE_WINDOW) {
|
($offset + $limit) > NOTICE_CACHE_WINDOW) {
|
||||||
return call_user_func_array($fn, array_merge($args, array($offset, $limit, $since_id,
|
return call_user_func_array($fn, array_merge($args, array($offset, $limit, $since_id,
|
||||||
$max_id, $since)));
|
$max_id, $since)));
|
||||||
|
Loading…
Reference in New Issue
Block a user