From: Zach Copley Date: Thu, 10 Feb 2011 18:24:38 +0000 (-0800) Subject: FacebookBridge - remove unnecessary warning and noisy debugging statement X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d9ace57625bebd1205ab3348db7097e74b8c6d24;hp=df19e8832376c70193562694c09c48fbec30305d;p=quix0rs-gnu-social.git FacebookBridge - remove unnecessary warning and noisy debugging statement --- 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__ - ) - ); } }