mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 07:44:27 +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
|
@ -22,6 +22,8 @@
|
|||
namespace Friendica\Module;
|
||||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Model\Item;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Network\HTTPException;
|
||||
use Friendica\Protocol\Feed as ProtocolFeed;
|
||||
|
@ -68,6 +70,8 @@ class Feed extends BaseModule
|
|||
throw new HTTPException\UnauthorizedException($this->t('Access to this profile has been restricted.'));
|
||||
}
|
||||
|
||||
Item::incrementOutbound(Protocol::FEED);
|
||||
|
||||
$feed = ProtocolFeed::atom($owner, $last_update, 10, $type);
|
||||
|
||||
$this->httpExit($feed, Response::TYPE_ATOM);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue