mirror of
https://github.com/friendica/friendica
synced 2025-04-27 05:10:10 +00:00
Move Object\Image static methods to Util\Images
- Optimize imports in modified files
This commit is contained in:
parent
b543ee8ac7
commit
03bf1dcbd3
15 changed files with 322 additions and 217 deletions
|
@ -10,7 +10,7 @@ use Friendica\Core\L10n;
|
|||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Object\Image;
|
||||
use Friendica\Util\Images;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
/**
|
||||
|
@ -79,7 +79,7 @@ function fbrowser_content(App $a)
|
|||
function _map_files1($rr)
|
||||
{
|
||||
$a = \get_app();
|
||||
$types = Image::supportedTypes();
|
||||
$types = Images::supportedTypes();
|
||||
$ext = $types[$rr['type']];
|
||||
$filename_e = $rr['filename'];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue