summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-11 14:52:59 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-11 14:52:59 -0500
commitc65bc1731f103ed7877a03fdfe875f50a6e341ad (patch)
treef15e2f009f8b354c315611f6e733b2e5b7e59475
parent466e8d1ed1aaeefe659c08d49355166c1bfb8375 (diff)
more places where required since param skipped for Notice::getStreamDirect
darcs-hash:20081211195259-5ed1f-c52136c07bdad5521184bd1990313030a8e1e831.gz
-rw-r--r--classes/Notice.php6
1 files changed, 3 insertions, 3 deletions
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();