]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
more places where required since param skipped for Notice::getStreamDirect
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 11 Dec 2008 19:52:59 +0000 (14:52 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 11 Dec 2008 19:52:59 +0000 (14:52 -0500)
darcs-hash:20081211195259-5ed1f-c52136c07bdad5521184bd1990313030a8e1e831.gz

classes/Notice.php

index 4eb60c787f585032415fb424322496c373bd4b32..ca8283bcef35221d2a952dd6d284d565d43ca804 100644 (file)
@@ -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();