]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Photo.php
Merge pull request #5923 from MrPetovan/task/improve-contact-module
[friendica.git] / src / Model / Photo.php
index 555df80e63df689fea8f056f22586783857f0574..e64158e175ced54a67d79fecf190be2965c561b5 100644 (file)
@@ -146,7 +146,7 @@ class Photo
 
                        // Remove the cached photo
                        $a = get_app();
-                       $basepath = $a->get_basepath();
+                       $basepath = $a->getBasePath();
 
                        if (is_dir($basepath . "/photo")) {
                                $filename = $basepath . '/photo/' . $hash . '-4.' . $Image->getExt();