Revert "FacebookBridge - Add lots of debug output (revert me)"

This reverts commit c44a622449.
This commit is contained in:
Zach Copley 2011-02-24 14:21:50 -08:00
parent 7d50189ec2
commit 77c280a48b
2 changed files with 0 additions and 37 deletions

View File

@ -128,7 +128,6 @@ class Facebookclient
*/ */
static function facebookBroadcastNotice($notice) static function facebookBroadcastNotice($notice)
{ {
common_debug("ZZZZZ facebookBroadcastNotice() - entered ", __FILE__);
$client = new Facebookclient($notice); $client = new Facebookclient($notice);
return $client->sendNotice(); return $client->sendNotice();
} }
@ -138,8 +137,6 @@ class Facebookclient
*/ */
function isFacebookBound() { function isFacebookBound() {
common_debug("ZZZZZ isFacebookBound() - entered", __FILE__);
if (empty($this->flink)) { if (empty($this->flink)) {
// User hasn't setup bridging // User hasn't setup bridging
return false; return false;
@ -178,14 +175,6 @@ class Facebookclient
return true; return true;
} }
common_debug(
sprintf(
"ZZZZZ isFacebookBound() - notice %d this notice does not go to Facebook",
$this->notice->id
),
__FILE__
);
return false; return false;
} }

View File

@ -40,35 +40,9 @@ class FacebookQueueHandler extends QueueHandler
function handle($notice) function handle($notice)
{ {
common_debug(
sprintf(
'ZZZZZ handle() - Looking at notice %d',
$notice->id
),
__FILE__
);
if ($this->_isLocal($notice)) { 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); 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; return true;
} }