]> git.mxchange.org Git - friendica.git/blobdiff - src/LegacyModule.php
Merge pull request #8075 from annando/html-escaping
[friendica.git] / src / LegacyModule.php
index 950f8faad213868f028e59cf5802262157524b21..9c22ec5d78a38ac1c53653c3ec23b3e6cc3973f3 100644 (file)
@@ -67,7 +67,7 @@ class LegacyModule extends BaseModule
                $function_name = static::$moduleName . '_' . $function_suffix;
 
                if (\function_exists($function_name)) {
-                       $a = self::getApp();
+                       $a = DI::app();
                        return $function_name($a);
                } else {
                        return parent::{$function_suffix}($parameters);