]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activity.php
Only use ActivityVerb::SHARE (forwardId is deprecated)
[quix0rs-gnu-social.git] / lib / activity.php
index 870ece13ad5524bb6dcf2afac1e4da8193c5b07c..eaa7cf1c2d499b0a55915d4d229ff7fb6eeb0671 100644 (file)
@@ -631,19 +631,6 @@ class Activity
                                            'href' => $attnURI));
             }
 
-            // XXX: shoulda used ActivityVerb::SHARE
-
-            if (!empty($this->context->forwardID)) {
-                if (!empty($this->context->forwardUrl)) {
-                    $xs->element('ostatus:forward',
-                                 array('ref' => $this->context->forwardID,
-                                       'href' => $this->context->forwardUrl));
-                } else {
-                    $xs->element('ostatus:forward',
-                                 array('ref' => $this->context->forwardID));
-                }
-            }
-
             if (!empty($this->context->location)) {
                 $loc = $this->context->location;
                 $xs->element('georss:point', null, $loc->lat . ' ' . $loc->lon);