]> git.mxchange.org Git - friendica.git/blobdiff - mod/oembed.php
Merge pull request #3518 from AndyHee/3.5.2rc
[friendica.git] / mod / oembed.php
index 021cbab6fdc8921dcd95727e31a70cc43bbfaead..3266ad963e110a0956a69a36844252e13f2f0397 100644 (file)
@@ -1,8 +1,10 @@
 <?php
+
+use Friendica\App;
+
 require_once("include/oembed.php");
 
-if(! function_exists('oembed_content')) {
-function oembed_content(&$a) {
+function oembed_content(App $a) {
        // logger('mod_oembed ' . $a->query_string, LOGGER_ALL);
 
        if ($a->argv[1]=='b2h'){
@@ -34,4 +36,3 @@ function oembed_content(&$a) {
        }
        killme();
 }
-}