OStatus: Commented out some "to-do" stuff

pull/2101/head
Michael Vogel 2015-11-27 08:09:19 +01:00
rodzic b45ca80656
commit b1a9e9b6d4
1 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -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 == "")