DFRN import has now gone live

This commit is contained in:
Michael Vogel 2016-02-05 21:25:20 +01:00
parent e2a8146307
commit d408cea871
3 changed files with 7 additions and 2143 deletions

View file

@ -374,7 +374,7 @@ function delivery_run(&$argv, &$argc){
break; break;
logger('mod-delivery: local delivery'); logger('mod-delivery: local delivery');
local_delivery($x[0],$atom); dfrn::import($atom, $x[0]);
break; break;
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,7 @@
<?php <?php
require_once('include/items.php'); require_once('include/items.php');
require_once('include/dfrn.php');
require_once('include/event.php'); require_once('include/event.php');
require_once('library/defuse/php-encryption-1.2.1/Crypto.php'); require_once('library/defuse/php-encryption-1.2.1/Crypto.php');
@ -208,7 +209,7 @@ function dfrn_notify_post(&$a) {
logger('rino: decrypted data: ' . $data, LOGGER_DATA); logger('rino: decrypted data: ' . $data, LOGGER_DATA);
} }
$ret = local_delivery($importer,$data); $ret = dfrn::import($data, $importer);
xml_status($ret); xml_status($ret);
// NOTREACHED // NOTREACHED