mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
Statistics: Inbound/Outbound for more protocols
This commit is contained in:
parent
3776cf8919
commit
bdf95e8305
4 changed files with 26 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue