mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02:00
Remove Embedly integration
- Remove admin setting input
This commit is contained in:
parent
b9f4a6e4f0
commit
29fb28de43
3 changed files with 0 additions and 17 deletions
|
@ -74,17 +74,6 @@ function oembed_fetch_url($embedurl, $no_rich_type = false){
|
|||
}
|
||||
}
|
||||
|
||||
if ($txt==false || $txt=="") {
|
||||
$embedly = Config::get("system", "embedly");
|
||||
if ($embedly != "") {
|
||||
// try embedly service
|
||||
$ourl = "https://api.embed.ly/1/oembed?key=".$embedly."&url=".urlencode($embedurl);
|
||||
$txt = fetch_url($ourl);
|
||||
|
||||
logger("oembed_fetch_url: ".$txt, LOGGER_DEBUG);
|
||||
}
|
||||
}
|
||||
|
||||
$txt = trim($txt);
|
||||
|
||||
if ($txt[0] != "{") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue