END_OF_RESTOREUSER_HELP;
-require_once INSTALLDIR.'/scripts/commandline.inc';
+require_once INSTALLDIR.'/scripts/commandline.inc.php';
require_once INSTALLDIR.'/extlib/htmLawed/htmLawed.php';
$user = null;
}
$xml = getActivityStreamDocument();
- $restorer = new AccountRestorer();
- $doc = $restorer->loadXML($xml);
- $restorer->importActivityStream($user, $doc);
+ $qm = QueueManager::get();
+ $qm->enqueue(array($user, $xml, true), 'feedimp');
} catch (Exception $e) {
print $e->getMessage()."\n";
exit(1);