Tabs to spaces, superfluous whitespace removed.
This commit is contained in:
parent
0c64df8cd9
commit
8391058ea4
@ -20,7 +20,6 @@
|
|||||||
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
|
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
|
||||||
|
|
||||||
function ping_broadcast_notice($notice) {
|
function ping_broadcast_notice($notice) {
|
||||||
|
|
||||||
if ($notice->is_local != Notice::LOCAL_PUBLIC && $notice->is_local != Notice::LOCAL_NONPUBLIC) {
|
if ($notice->is_local != Notice::LOCAL_PUBLIC && $notice->is_local != Notice::LOCAL_NONPUBLIC) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -79,7 +78,6 @@ function ping_broadcast_notice($notice) {
|
|||||||
"Ping success for $notify_url $notice->id");
|
"Ping success for $notify_url $notice->id");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'get':
|
case 'get':
|
||||||
case 'post':
|
case 'post':
|
||||||
$args = array('name' => $profile->nickname,
|
$args = array('name' => $profile->nickname,
|
||||||
@ -108,7 +106,6 @@ function ping_broadcast_notice($notice) {
|
|||||||
"'$result->body'");
|
"'$result->body'");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
common_log(LOG_WARNING, 'Unknown notify type for ' . $notify_url . ': ' . $type);
|
common_log(LOG_WARNING, 'Unknown notify type for ' . $notify_url . ': ' . $type);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user