kopia lustrzana https://github.com/friendica/friendica
OStatus: Commented out some "to-do" stuff
rodzic
b45ca80656
commit
b1a9e9b6d4
|
@ -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 == "")
|
||||
|
|
Ładowanie…
Reference in New Issue