1
0
Fork 0

Only some code beautification. No functional changes.

This commit is contained in:
Michael Vogel 2014-03-20 18:46:01 +01:00
parent eaa05a9203
commit 2a21fecd79
2 changed files with 7 additions and 8 deletions

View file

@ -366,7 +366,6 @@ function delivery_run(&$argv, &$argc){
break;
case NETWORK_OSTATUS :
// Do not send to otatus if we are not configured to send to public networks
if($owner['prvnets'])
break;

View file

@ -696,6 +696,7 @@ function notifier_run(&$argv, &$argc){
// Do not send to ostatus if we are not configured to send to public networks
if($owner['prvnets'])
break;
if(get_config('system','ostatus_disabled') || get_config('system','dfrn_only'))
break;
@ -707,8 +708,7 @@ function notifier_run(&$argv, &$argc){
// queue message for redelivery
add_to_queue($contact['id'],NETWORK_OSTATUS,$slap);
}
}
else {
} else {
// only send salmon if public - e.g. if it's ok to notify
// a public hub, it's ok to send a salmon