1
0
Fork 0

Rework Feed::import parameters

- Remove unused $hub
- Replace $simulate with an implicit condition
This commit is contained in:
Hypolite Petovan 2020-01-03 09:26:28 -05:00
commit ebaf726744
4 changed files with 27 additions and 41 deletions

View file

@ -258,7 +258,7 @@ function consume_feed($xml, array $importer, array $contact, &$hub)
if ($contact['network'] === Protocol::FEED) {
Logger::log("Consume feeds", Logger::DEBUG);
Feed::import($xml, $importer, $contact, $hub);
Feed::import($xml, $importer, $contact);
return;
}