From c65bc1731f103ed7877a03fdfe875f50a6e341ad Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 11 Dec 2008 14:52:59 -0500 Subject: more places where required since param skipped for Notice::getStreamDirect darcs-hash:20081211195259-5ed1f-c52136c07bdad5521184bd1990313030a8e1e831.gz --- classes/Notice.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'classes/Notice.php') diff --git a/classes/Notice.php b/classes/Notice.php index 4eb60c787..ca8283bce 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -383,7 +383,7 @@ class Notice extends Memcached_DataObject # If outside our cache window, just go to the DB if ($offset + $limit > NOTICE_CACHE_WINDOW) { - return Notice::getStreamDirect($qry, $offset, $limit, NULL, NULL, $order); + return Notice::getStreamDirect($qry, $offset, $limit, NULL, NULL, $order, NULL); } # Get the cache; if we can't, just go to the DB @@ -391,7 +391,7 @@ class Notice extends Memcached_DataObject $cache = common_memcache(); if (!$cache) { - return Notice::getStreamDirect($qry, $offset, $limit, NULL, NULL, $order); + return Notice::getStreamDirect($qry, $offset, $limit, NULL, NULL, $order, NULL); } # Get the notices out of the cache @@ -423,7 +423,7 @@ class Notice extends Memcached_DataObject # bet with our DB. $new_notice = Notice::getStreamDirect($qry, 0, NOTICE_CACHE_WINDOW, - $last_id, NULL, $order); + $last_id, NULL, $order, NULL); if ($new_notice) { $new_notices = array(); -- cgit v1.2.3-54-g00ecf