]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
FacebookBridge - remove unnecessary warning and noisy debugging statement
authorZach Copley <zach@status.net>
Thu, 10 Feb 2011 18:24:38 +0000 (10:24 -0800)
committerZach Copley <zach@status.net>
Thu, 10 Feb 2011 18:24:38 +0000 (10:24 -0800)
plugins/FacebookBridge/lib/facebookclient.php

index 094338533ede45f5971151888ec7071e928eef17..030a75caed1f084dde630a7a28b6ea9f077e09c1 100644 (file)
@@ -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__
-                )
-            );
         }
     }