Twitter bridge - Bugfix: You can now turn off brige via prefs
darcs-hash:20080923231921-7b5ce-751490e59ae0a76cebf83eea98da902a63e39645.gz
This commit is contained in:
parent
d5bb9bda0b
commit
285f062197
@ -1111,7 +1111,7 @@ function common_broadcast_notice($notice, $remote=false) {
|
|||||||
// Check to see if notice should go to Twitter
|
// Check to see if notice should go to Twitter
|
||||||
$flink = Foreign_link::getForeignLink($notice->profile_id, 1); // 1 == Twitter
|
$flink = Foreign_link::getForeignLink($notice->profile_id, 1); // 1 == Twitter
|
||||||
|
|
||||||
if ($flink) {
|
if ($flink->noticesync == 1) {
|
||||||
if (!common_twitter_broadcast($notice, $flink)) {
|
if (!common_twitter_broadcast($notice, $flink)) {
|
||||||
common_debug('Unable to send notice: ' . $notice->id . ' to Twitter.', __FILE__);
|
common_debug('Unable to send notice: ' . $notice->id . ' to Twitter.', __FILE__);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user