use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\System;
+use Friendica\Database\dba;
use Friendica\Database\DBM;
use Friendica\Model\Contact;
use Friendica\Protocol\DFRN;
// Set the user id. This is important if this is a public contact
$importer['importer_uid'] = $user['uid'];
+ $importer = array_merge($importer, $user);
+
logger('Importing post from ' . $msg['author'] . ' to ' . $user['nickname'] . ' with the private envelope.', LOGGER_DEBUG);
// Now we should be able to import it
);
if (!DBM::is_result($r)) {
- $status = 1;
+ logger('No user data found for ' . $a->argv[1] . ' - SQL: ' . $sql_extra);
+ killme();
}
logger("Remote rino version: ".$rino_remote." for ".$r[0]["url"], LOGGER_DATA);