X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOembed.php;h=b0c4d092a1ac60aa6a4754ef9c1b52331507b549;hb=346f99b87798322866c2f95afdb23d82923f3d2c;hp=0107782122b5c0c877025d09805eca4a22794315;hpb=10114661d40b740146a66f75771aeddc17c4242e;p=friendica.git diff --git a/src/Module/Oembed.php b/src/Module/Oembed.php index 0107782122..b0c4d092a1 100644 --- a/src/Module/Oembed.php +++ b/src/Module/Oembed.php @@ -1,9 +1,29 @@ . + * + */ namespace Friendica\Module; use Friendica\BaseModule; use Friendica\Content; +use Friendica\DI; use Friendica\Util\Strings; /** @@ -17,9 +37,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') {