forked from GNUsocial/gnu-social
another debug notice
darcs-hash:20080928172002-5ed1f-a81ae374b920e222183cf9de86e5fed732a0ed5b.gz
This commit is contained in:
parent
3a99883c6c
commit
577ee0c115
@ -264,7 +264,7 @@ class Notice extends Memcached_DataObject
|
|||||||
# On a cache hit, return a DB-object-like wrapper
|
# On a cache hit, return a DB-object-like wrapper
|
||||||
|
|
||||||
if ($notices) {
|
if ($notices) {
|
||||||
common_debug('Cache hit!');
|
common_debug('Notices hit: ' . print_r($notices, TRUE));
|
||||||
common_debug('Got this many notices: ' . count($notices));
|
common_debug('Got this many notices: ' . count($notices));
|
||||||
$wrapper = new NoticeWrapper(array_slice($notices, $offset, $limit));
|
$wrapper = new NoticeWrapper(array_slice($notices, $offset, $limit));
|
||||||
return $wrapper;
|
return $wrapper;
|
||||||
|
Loading…
Reference in New Issue
Block a user