]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticestream.php
Merge branch 'nightly' into 'nightly'
[quix0rs-gnu-social.git] / lib / noticestream.php
index 02b2a2da8642d2e97d3de27e4534474b6ed564f9..72325a0fe484f505febe8a2d81f90f1d18cba54c 100644 (file)
@@ -43,14 +43,14 @@ if (!defined('GNUSOCIAL')) { exit(1); }
 abstract class NoticeStream
 {
     protected $selectVerbs   = array(ActivityVerb::POST => true,
-                                     ActivityVerb::DELETE => false);
+                                     ActivityVerb::SHARE => true);
 
     public function __construct()
     {
         foreach ($this->selectVerbs as $key=>$val) {
-            // to avoid database inconsistency issues we select both relative and absolute verbs
             $this->selectVerbs[ActivityUtils::resolveUri($key)] = $val;
-            $this->selectVerbs[ActivityUtils::resolveUri($key, true)] = $val;
+            // to avoid database inconsistency issues we can select both relative and absolute verbs
+            //$this->selectVerbs[ActivityUtils::resolveUri($key, true)] = $val;
         }
     }