Rework Feed::import parameters
- Remove unused $hub - Replace $simulate with an implicit condition
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user