X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticestream.php;h=3b597fa08cf03899ca42406084fad93dc5c99d8b;hb=refs%2Fheads%2Fupstream-changes%2Fgoogle-analytics-removal;hp=e9ff47b68c154eb73641cbaf97dbb1b0126c2cae;hpb=87d46e1ae5e5effcc985021ff5af3f10815f3d3c;p=quix0rs-gnu-social.git diff --git a/lib/noticestream.php b/lib/noticestream.php index e9ff47b68c..3b597fa08c 100644 --- a/lib/noticestream.php +++ b/lib/noticestream.php @@ -46,6 +46,15 @@ if (!defined('STATUSNET')) { */ abstract class NoticeStream { + protected $selectVerbs = array(); + protected $unselectVerbs = array(); + + public function __construct() + { + $this->selectVerbs = array(ActivityVerb::POST, ActivityUtils::resolveUri(ActivityVerb::POST, true)); + $this->unselectVerbs = array(ActivityVerb::DELETE); + } + abstract function getNoticeIds($offset, $limit, $since_id, $max_id); function getNotices($offset, $limit, $sinceId = null, $maxId = null)