gnu-social/actions/apitimelinenetworkpublic.php
Mikael Nordfeldth 4c14794cae ApiTimelineNetworkPublicAction available now
Feeds added in NetworkpublicAction too.
2015-01-29 23:01:53 +01:00

17 lines
351 B
PHP

<?php
if (!defined('GNUSOCIAL')) { exit(1); }
class ApiTimelineNetworkPublicAction extends ApiTimelinePublicAction
{
function title()
{
return sprintf(_("%s network public timeline"), common_config('site', 'name'));
}
protected function getStream()
{
return new NetworkPublicNoticeStream($this->scoped);
}
}