]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/publicnoticestream.php
put some debugging code into the home and public timelines
[quix0rs-gnu-social.git] / lib / publicnoticestream.php
index 044701aaf68bb2b7e983a2ec4e8837910b6bd446..51af54f48fda4a869626746e475a609d6ecf2826 100644 (file)
@@ -103,6 +103,10 @@ class RawPublicNoticeStream extends NoticeStream
         $notice->free();
         $notice = NULL;
 
-        return $ids;
+        if (common_config('debug', 'homevspublic')) {
+            common_debug('Public raw: ' . implode(',', $ids));
+        }
+
+       return $ids;
     }
 }
\ No newline at end of file