src Standards
This basically completes coding standards changes for the entire src directory, with the exception of App.php
This commit is contained in:
parent
057984c69e
commit
609a4de5d0
15 changed files with 370 additions and 338 deletions
|
@ -49,14 +49,14 @@ function receive_post(App $a) {
|
|||
}
|
||||
|
||||
logger('mod-diaspora: message is in the new format', LOGGER_DEBUG);
|
||||
$msg = Diaspora::decode_raw($importer, $postdata);
|
||||
$msg = Diaspora::decodeRaw($importer, $postdata);
|
||||
} else {
|
||||
logger('mod-diaspora: decode message in the old format', LOGGER_DEBUG);
|
||||
$msg = Diaspora::decode($importer, $xml);
|
||||
|
||||
if ($public && !$msg) {
|
||||
logger('mod-diaspora: decode message in the new format', LOGGER_DEBUG);
|
||||
$msg = Diaspora::decode_raw($importer, $xml);
|
||||
$msg = Diaspora::decodeRaw($importer, $xml);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ function receive_post(App $a) {
|
|||
|
||||
$ret = true;
|
||||
if ($public) {
|
||||
Diaspora::dispatch_public($msg);
|
||||
Diaspora::dispatchPublic($msg);
|
||||
} else {
|
||||
$ret = Diaspora::dispatch($importer, $msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue