]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Photo.php
Improved documentation, now checking all items
[friendica.git] / src / Model / Photo.php
index eee8fbc5f7ae5bce434dbd3be1e56423c5fc242a..c4dbf2b30a1f53eda14d089cf2e8eb6da2babfad 100644 (file)
@@ -461,7 +461,7 @@ class Photo
                        $micro = DI::baseUrl() . "/photo/" . $resource_id . "-6." . $Image->getExt() . $suffix;
 
                        // Remove the cached photo
-                       $a = \get_app();
+                       $a = DI::app();
                        $basepath = $a->getBasePath();
 
                        if (is_dir($basepath . "/photo")) {