]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticestream.php
Removed plugin Google-Analytics as this is free/libre and decentralized
[quix0rs-gnu-social.git] / lib / noticestream.php
index c072941a693e78b7435d09f01a295f6de7f12271..3b597fa08cf03899ca42406084fad93dc5c99d8b 100644 (file)
@@ -46,7 +46,14 @@ if (!defined('STATUSNET')) {
  */
 abstract class NoticeStream
 {
-    protected $allVerbs = false;    // Will only get 'post' activityverbs 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);