1
0
Fork 0

Diaspora: Fix class name case + add self

This commit is contained in:
Hypolite Petovan 2016-12-20 12:44:15 -05:00
commit 4a7c3b9eef
16 changed files with 28 additions and 28 deletions

View file

@ -53,7 +53,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);
@ -66,9 +66,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);