Separate Object\Photo into Model\Photo and Object\Image
- Renamed a bunch of functions to shorter or clearer names
This commit is contained in:
parent
7499824381
commit
3fc3e67b70
22 changed files with 464 additions and 408 deletions
|
@ -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'];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue