mirror of
https://github.com/friendica/friendica
synced 2025-04-25 23:50:11 +00:00
Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
parent
b8030313e5
commit
5e1ceb57de
52 changed files with 135 additions and 133 deletions
|
@ -56,7 +56,7 @@ class OEmbed
|
|||
{
|
||||
$embedurl = trim($embedurl, '\'"');
|
||||
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
$cache_key = 'oembed:' . $a->videowidth . ':' . $embedurl;
|
||||
|
||||
|
@ -364,7 +364,7 @@ class OEmbed
|
|||
*/
|
||||
private static function iframe($src, $width, $height)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
if (!$height || strstr($height, '%')) {
|
||||
$height = '200';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue