Only some code beautification. No functional changes.
This commit is contained in:
parent
eaa05a9203
commit
2a21fecd79
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue