git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 46829c6d authored by mmn's avatar mmn

FullNoticeStream selects all verbs.

parent 2d1b70c9
<?php
if (!defined('GNUSOCIAL')) { exit(1); }
/**
* Class for notice streams that does not filter anything out.
*/
class FullNoticeStream extends NoticeStream
{
protected $selectVerbs = [];
}
...@@ -72,7 +72,7 @@ class InboxNoticeStream extends ScopingNoticeStream ...@@ -72,7 +72,7 @@ class InboxNoticeStream extends ScopingNoticeStream
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
* @link http://status.net/ * @link http://status.net/
*/ */
class RawInboxNoticeStream extends NoticeStream class RawInboxNoticeStream extends FullNoticeStream
{ {
protected $target = null; protected $target = null;
protected $inbox = null; protected $inbox = null;
......
...@@ -23,7 +23,7 @@ class NetworkPublicNoticeStream extends ScopingNoticeStream ...@@ -23,7 +23,7 @@ class NetworkPublicNoticeStream extends ScopingNoticeStream
* @link http://status.net/ * @link http://status.net/
*/ */
class RawNetworkPublicNoticeStream extends NoticeStream class RawNetworkPublicNoticeStream extends FullNoticeStream
{ {
function getNoticeIds($offset, $limit, $since_id, $max_id) function getNoticeIds($offset, $limit, $since_id, $max_id)
{ {
......
...@@ -62,7 +62,7 @@ class PublicNoticeStream extends ScopingNoticeStream ...@@ -62,7 +62,7 @@ class PublicNoticeStream extends ScopingNoticeStream
* @link http://status.net/ * @link http://status.net/
*/ */
class RawPublicNoticeStream extends NoticeStream class RawPublicNoticeStream extends FullNoticeStream
{ {
function getNoticeIds($offset, $limit, $since_id, $max_id) function getNoticeIds($offset, $limit, $since_id, $max_id)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment