mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
closes #6272
This commit is contained in:
parent
d331e4e6e3
commit
b43dd28b7a
3 changed files with 14 additions and 3 deletions
|
@ -945,7 +945,6 @@ function api_format_data($root_element, $type, $data)
|
|||
$ret = $data;
|
||||
break;
|
||||
}
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
@ -1244,7 +1243,7 @@ function api_media_upload()
|
|||
$returndata["image"] = ["w" => $media["width"],
|
||||
"h" => $media["height"],
|
||||
"image_type" => $media["type"],
|
||||
"preview" => $media["preview"]];
|
||||
"friendica_preview_url" => $media["preview"]];
|
||||
|
||||
Logger::log("Media uploaded: " . print_r($returndata, true), Logger::DEBUG);
|
||||
|
||||
|
@ -5685,7 +5684,6 @@ function api_friendica_notification($type)
|
|||
|
||||
$notes = $xmlnotes;
|
||||
}
|
||||
|
||||
return api_format_data("notes", $type, ['note' => $notes]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue