Rework Feed::import parameters
- Remove unused $hub - Replace $simulate with an implicit condition
This commit is contained in:
parent
38fe3b8994
commit
ebaf726744
4 changed files with 27 additions and 41 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue