]> git.mxchange.org Git - friendica.git/blobdiff - mod/fbrowser.php
Revert "Move Objects to Model"
[friendica.git] / mod / fbrowser.php
index 3297dd918b0a74567362670cd1afcdda2d02a93a..516be5298725298455981c53d80d4ea2ab93c80a 100644 (file)
@@ -7,7 +7,7 @@
 
 use Friendica\App;
 use Friendica\Core\System;
-use Friendica\Object\Image;
+use Friendica\Object\Photo;
 
 /**
  * @param App $a
@@ -66,7 +66,7 @@ function fbrowser_content(App $a) {
 
                        function _map_files1($rr){
                                $a = get_app();
-                               $types = Image::supportedTypes();
+                               $types = Photo::supportedTypes();
                                $ext = $types[$rr['type']];
                                $filename_e = $rr['filename'];