]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
drop debug messages from inbox deletion fix
authorBrion Vibber <brion@pobox.com>
Thu, 4 Feb 2010 23:16:27 +0000 (15:16 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 4 Feb 2010 23:16:27 +0000 (15:16 -0800)
classes/Inbox.php

index 02941079909da03507fdfa2dc39c6c0000c914b1..be62611a16504416675d474e6d1920d6d6080273 100644 (file)
@@ -212,11 +212,9 @@ class Inbox extends Memcached_DataObject
 
         $wanted = count($firstChunk); // raw entry count in the inbox up to our $limit
         if ($notices->N >= $wanted) {
-            common_log(LOG_DEBUG, __METHOD__ . " ok got $wanted items");
             return $notices;
         }
 
-        common_log(LOG_DEBUG, __METHOD__ . " got $notices->N of $wanted items, getting more");
         // There were deleted notices, we'll need to look for more.
         assert($notices instanceof ArrayWrapper);
         $items = $notices->_items;
@@ -225,10 +223,8 @@ class Inbox extends Memcached_DataObject
         while (count($items) < $wanted && count($remainder) > 0) {
             $notice = Notice::staticGet(array_shift($remainder));
             if ($notice) {
-                common_log(LOG_DEBUG, __METHOD__ . " got another one");
                 $items[] = $notice;
             } else {
-                common_log(LOG_DEBUG, __METHOD__ . " skipping another deleted one");
             }
         }
         return new ArrayWrapper($items);