Reducing parameter list

This commit is contained in:
Michael 2020-12-02 00:05:03 +00:00
parent b047d31a4f
commit 4fbd0a46b5
2 changed files with 5 additions and 7 deletions

View file

@ -656,7 +656,7 @@ class Feed
}
$publish_at = date(DateTimeFormat::MYSQL, $publish_time);
Post\Delayed::add($item['uri'], $item['uid'], $publish_at, $posting['item'], $posting['notify'], $posting['taglist'], $posting['attachments']);
Post\Delayed::add($publish_at, $posting['item'], $posting['notify'], $posting['taglist'], $posting['attachments']);
DI::pConfig()->set($item['uid'], 'system', 'last_publish', $next_publish);
}
}