From d9ace57625bebd1205ab3348db7097e74b8c6d24 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 10 Feb 2011 10:24:38 -0800 Subject: [PATCH] FacebookBridge - remove unnecessary warning and noisy debugging statement --- plugins/FacebookBridge/lib/facebookclient.php | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/plugins/FacebookBridge/lib/facebookclient.php b/plugins/FacebookBridge/lib/facebookclient.php index 094338533e..030a75caed 100644 --- a/plugins/FacebookBridge/lib/facebookclient.php +++ b/plugins/FacebookBridge/lib/facebookclient.php @@ -115,14 +115,7 @@ class Facebookclient function isFacebookBound() { if (empty($this->flink)) { - common_log( - LOG_WARNING, - sprintf( - "No Foreign_link to Facebook for the author of notice %d.", - $this->notice->id - ), - __FILE__ - ); + // User hasn't setup bridging return false; } @@ -180,15 +173,6 @@ class Facebookclient // Otherwise we most likely have an access token return $this->sendGraph(); } - - } else { - common_debug( - sprintf( - "Skipping notice %d - not bound for Facebook", - $this->notice->id, - __FILE__ - ) - ); } } -- 2.39.5