]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "FacebookBridge - Add lots of debug output (revert me)"
authorZach Copley <zach@status.net>
Thu, 24 Feb 2011 22:21:50 +0000 (14:21 -0800)
committerZach Copley <zach@status.net>
Thu, 24 Feb 2011 22:21:50 +0000 (14:21 -0800)
This reverts commit c44a622449757fe13dc30ce120af07aa03ac5dc4.

plugins/FacebookBridge/lib/facebookclient.php
plugins/FacebookBridge/lib/facebookqueuehandler.php

index 6037ad0f2da32f333979587e2b110a821fb77a9f..516f252d98d7cdc185fc41a07665459d9677016d 100644 (file)
@@ -128,7 +128,6 @@ class Facebookclient
      */
     static function facebookBroadcastNotice($notice)
     {
-        common_debug("ZZZZZ facebookBroadcastNotice() - entered ", __FILE__);
         $client = new Facebookclient($notice);
         return $client->sendNotice();
     }
@@ -138,8 +137,6 @@ class Facebookclient
      */
     function isFacebookBound() {
 
-        common_debug("ZZZZZ isFacebookBound() - entered", __FILE__);
-
         if (empty($this->flink)) {
             // User hasn't setup bridging
             return false;
@@ -178,14 +175,6 @@ class Facebookclient
             return true;
         }
 
-        common_debug(
-            sprintf(
-                "ZZZZZ isFacebookBound() - notice %d this notice does not go to Facebook",
-                $this->notice->id
-            ),
-            __FILE__
-        );
-
         return false;
     }
 
index f1e857090bc8ee300d0d68bcfdc40a4bcb1aa138..1e82ff01b1845f43b956dbd0bc4415defa3da1ac 100644 (file)
@@ -40,35 +40,9 @@ class FacebookQueueHandler extends QueueHandler
 
     function handle($notice)
     {
-        common_debug(
-            sprintf(
-                'ZZZZZ handle() - Looking at notice %d',
-                $notice->id
-            ),
-            __FILE__
-        );
-
         if ($this->_isLocal($notice)) {
-
-            common_debug(
-                sprintf(
-                    'ZZZZZ handle() - notice %d is local; will try sending to Facebook.',
-                    $notice->id
-                ),
-                __FILE__
-            );
-
             return Facebookclient::facebookBroadcastNotice($notice);
         }
-
-        common_debug(
-            sprintf(
-                'ZZZZZ handle() - notice %d was not a local notice, so we wont rebroadcast it.',
-                $notice->id
-            ),
-            __FILE__
-        );
-
         return true;
     }