Browse Source

DFRN import has now gone live

pull/2323/head
Michael Vogel 5 years ago
parent
commit
d408cea871
3 changed files with 52 additions and 2188 deletions
  1. +1
    -1
      include/delivery.php
  2. +49
    -2186
      include/items.php
  3. +2
    -1
      mod/dfrn_notify.php

+ 1
- 1
include/delivery.php View File

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


+ 49
- 2186
include/items.php
File diff suppressed because it is too large
View File


+ 2
- 1
mod/dfrn_notify.php View File

@ -1,6 +1,7 @@
<?php
require_once('include/items.php');
require_once('include/dfrn.php');
require_once('include/event.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);
}
$ret = local_delivery($importer,$data);
$ret = dfrn::import($data, $importer);
xml_status($ret);
// NOTREACHED


Loading…
Cancel
Save