OStatus: Commented out some "to-do" stuff

This commit is contained in:
Michael Vogel 2015-11-27 08:09:19 +01:00
parent b45ca80656
commit b1a9e9b6d4
1 changed files with 6 additions and 6 deletions

View File

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