Add type parameter to OStatus::feed

- Removed unused parameter $a
- Added $nocache parameter
- Updated usages
This commit is contained in:
Hypolite Petovan 2017-12-30 00:19:16 -05:00
parent 095d458de4
commit c2e29f2685
3 changed files with 63 additions and 31 deletions

View file

@ -52,7 +52,7 @@ class PubSubPublish {
logger("Generate feed of user ".$rr['nickname']." to ".$rr['callback_url']." - last updated ".$rr['last_update'], LOGGER_DEBUG);
$last_update = $rr['last_update'];
$params = OStatus::feed($a, $rr['nickname'], $last_update);
$params = OStatus::feed($rr['nickname'], $last_update);
if (!$params) {
return;