]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Oembed.php
Fix crepair links
[friendica.git] / src / Module / Oembed.php
index 0107782122b5c0c877025d09805eca4a22794315..38e209e84db82e3e7a6d9aedc90510eaa7563998 100644 (file)
@@ -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') {