mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Remove consume_feed in favor of Protocol\Feed::consume
This commit is contained in:
parent
acea18a255
commit
a1d62734fa
3 changed files with 6 additions and 13 deletions
|
@ -31,6 +31,7 @@ use Friendica\Model\User;
|
|||
use Friendica\Protocol\Activity;
|
||||
use Friendica\Protocol\ActivityPub;
|
||||
use Friendica\Protocol\Email;
|
||||
use Friendica\Protocol\Feed;
|
||||
use Friendica\Protocol\PortableContact;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Network;
|
||||
|
@ -173,11 +174,11 @@ class OnePoll
|
|||
|
||||
Logger::log("Consume feed of contact ".$contact['id']);
|
||||
|
||||
consume_feed($xml, $importer, $contact, $hub);
|
||||
Feed::consume($xml, $importer, $contact, $hub);
|
||||
|
||||
// do it a second time for DFRN so that any children find their parents.
|
||||
if ($protocol === Protocol::DFRN) {
|
||||
consume_feed($xml, $importer, $contact, $hub);
|
||||
Feed::consume($xml, $importer, $contact, $hub);
|
||||
}
|
||||
|
||||
$hubmode = 'subscribe';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue