FacebookBridge - remove unnecessary warning and noisy debugging statement
This commit is contained in:
parent
df19e88323
commit
d9ace57625
@ -115,14 +115,7 @@ class Facebookclient
|
|||||||
function isFacebookBound() {
|
function isFacebookBound() {
|
||||||
|
|
||||||
if (empty($this->flink)) {
|
if (empty($this->flink)) {
|
||||||
common_log(
|
// User hasn't setup bridging
|
||||||
LOG_WARNING,
|
|
||||||
sprintf(
|
|
||||||
"No Foreign_link to Facebook for the author of notice %d.",
|
|
||||||
$this->notice->id
|
|
||||||
),
|
|
||||||
__FILE__
|
|
||||||
);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,15 +173,6 @@ class Facebookclient
|
|||||||
// Otherwise we most likely have an access token
|
// Otherwise we most likely have an access token
|
||||||
return $this->sendGraph();
|
return $this->sendGraph();
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
|
||||||
common_debug(
|
|
||||||
sprintf(
|
|
||||||
"Skipping notice %d - not bound for Facebook",
|
|
||||||
$this->notice->id,
|
|
||||||
__FILE__
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user