Statistics: Inbound/Outbound for more protocols

This commit is contained in:
Michael 2024-08-05 20:34:17 +00:00
parent 3776cf8919
commit bdf95e8305
4 changed files with 26 additions and 1 deletions

View file

@ -165,6 +165,7 @@ class OnePoll
}
$cookiejar = tempnam(System::getTempPath(), 'cookiejar-onepoll-');
Item::incrementInbound(Protocol::FEED);
$curlResult = DI::httpClient()->get($contact['poll'], HttpClientAccept::FEED_XML, [HttpClientOptions::COOKIEJAR => $cookiejar, HttpClientOptions::REQUEST => HttpClientRequest::FEEDFETCHER]);
unlink($cookiejar);