1
1
Fork 0

Separate Object\Photo into Model\Photo and Object\Image

- Renamed a bunch of functions to shorter or clearer names
This commit is contained in:
Hypolite Petovan 2017-12-07 08:56:11 -05:00
commit 52bddd580c
22 changed files with 464 additions and 408 deletions

View file

@ -7,7 +7,7 @@
use Friendica\App;
use Friendica\Core\System;
use Friendica\Object\Photo;
use Friendica\Object\Image;
/**
* @param App $a
@ -66,7 +66,7 @@ function fbrowser_content(App $a) {
function _map_files1($rr){
$a = get_app();
$types = Photo::supportedTypes();
$types = Image::supportedTypes();
$ext = $types[$rr['type']];
$filename_e = $rr['filename'];