]> git.mxchange.org Git - friendica.git/blobdiff - mod/fbrowser.php
CleanUp Cache namespace
[friendica.git] / mod / fbrowser.php
index b1daa2cc235e41399d2834f0edc862e660363872..2b293a716d89355bef08cdd3db209933888bd6c2 100644 (file)
@@ -9,6 +9,7 @@ use Friendica\App;
 use Friendica\Core\L10n;
 use Friendica\Core\Renderer;
 use Friendica\Database\DBA;
+use Friendica\DI;
 use Friendica\Util\Images;
 use Friendica\Util\Strings;
 
@@ -77,7 +78,7 @@ function fbrowser_content(App $a)
 
                        function _map_files1($rr)
                        {
-                               $a = \get_app();
+                               $a = DI::app();
                                $types = Images::supportedTypes();
                                $ext = $types[$rr['type']];
                                $filename_e = $rr['filename'];