Remove get_app() in favor of DI::app()
This commit is contained in:
@@ -57,7 +57,7 @@ class OEmbed
|
||||
{
|
||||
$embedurl = trim($embedurl, '\'"');
|
||||
|
||||
$a = \get_app();
|
||||
$a = DI::app();
|
||||
|
||||
$cache_key = 'oembed:' . $a->videowidth . ':' . $embedurl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user