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=0f53daf83f407e15a878d747d1268b972eb451c9;hpb=5ebe01ba365886bf19edbb1dc5f5591c2135a8be;p=quix0rs-gnu-social.git diff --git a/lib/noticestream.php b/lib/noticestream.php index 0f53daf83f..3b597fa08c 100644 --- a/lib/noticestream.php +++ b/lib/noticestream.php @@ -46,12 +46,13 @@ if (!defined('STATUSNET')) { */ abstract class NoticeStream { - // Will only get notices with the 'post' activityverb by default. 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);