]> git.mxchange.org Git - friendica.git/commitdiff
OStatus: Commented out some "to-do" stuff
authorMichael Vogel <icarus@dabo.de>
Fri, 27 Nov 2015 07:09:19 +0000 (08:09 +0100)
committerMichael Vogel <icarus@dabo.de>
Fri, 27 Nov 2015 07:09:19 +0000 (08:09 +0100)
include/ostatus.php

index 4fb07df7114fbf8a9c5237e50b09eef7cd868cdf..ce254ed61ad012328d362234882b6738c03c5cea 100644 (file)
@@ -1382,13 +1382,13 @@ function ostatus_entry($doc, $item, $owner, $toplevel = false) {
 
        // To-Do:
        // The API call has yet to be implemented
-       $attributes = array("href" => $a->get_baseurl()."/api/statuses/show/".$item["id"].".atom",
-                       "rel" => "self", "type" => "application/atom+xml");
-       xml_add_element($doc, $entry, "link", "", $attributes);
+       //$attributes = array("href" => $a->get_baseurl()."/api/statuses/show/".$item["id"].".atom",
+       //              "rel" => "self", "type" => "application/atom+xml");
+       //xml_add_element($doc, $entry, "link", "", $attributes);
 
-       $attributes = array("href" => $a->get_baseurl()."/api/statuses/show/".$item["id"].".atom",
-                       "rel" => "edit", "type" => "application/atom+xml");
-       xml_add_element($doc, $entry, "link", "", $attributes);
+       //$attributes = array("href" => $a->get_baseurl()."/api/statuses/show/".$item["id"].".atom",
+       //              "rel" => "edit", "type" => "application/atom+xml");
+       //xml_add_element($doc, $entry, "link", "", $attributes);
 
        $app = $item["app"];
        if ($app == "")