X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOembed.php;h=38e209e84db82e3e7a6d9aedc90510eaa7563998;hb=087c3cdcd88e304e7cf2c9939a83f4a6b9b504d6;hp=0107782122b5c0c877025d09805eca4a22794315;hpb=c9cce8492e5b2607b2a092474d1de4d188b7a2c9;p=friendica.git diff --git a/src/Module/Oembed.php b/src/Module/Oembed.php index 0107782122..38e209e84d 100644 --- a/src/Module/Oembed.php +++ b/src/Module/Oembed.php @@ -4,6 +4,7 @@ namespace Friendica\Module; use Friendica\BaseModule; use Friendica\Content; +use Friendica\DI; use Friendica\Util\Strings; /** @@ -17,9 +18,9 @@ use Friendica\Util\Strings; */ class Oembed extends BaseModule { - public static function content() + public static function content(array $parameters = []) { - $a = self::getApp(); + $a = DI::app(); // Unused form: /oembed/b2h?url=... if ($a->argv[1] == 'b2h') {