Merge remote-tracking branch 'upstream/develop' into rewrites/app_get_baseurl_static
Signed-off-by: Roland Häder <roland@mxchange.org> Conflicts: include/diaspora.php object/Item.php
This commit is contained in:
commit
ad20c5504d
16 changed files with 174 additions and 85 deletions
|
|
@ -54,7 +54,7 @@ function receive_post(&$a) {
|
|||
|
||||
logger('mod-diaspora: message is okay', LOGGER_DEBUG);
|
||||
|
||||
$msg = diaspora::decode($importer,$xml);
|
||||
$msg = Diaspora::decode($importer,$xml);
|
||||
|
||||
logger('mod-diaspora: decoded', LOGGER_DEBUG);
|
||||
|
||||
|
|
@ -67,9 +67,9 @@ function receive_post(&$a) {
|
|||
|
||||
$ret = 0;
|
||||
if($public) {
|
||||
diaspora::dispatch_public($msg);
|
||||
Diaspora::dispatch_public($msg);
|
||||
} else {
|
||||
$ret = diaspora::dispatch($importer,$msg);
|
||||
$ret = Diaspora::dispatch($importer,$msg);
|
||||
}
|
||||
|
||||
http_status_exit(($ret) ? $ret : 200);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue