mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +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
|
@ -35,6 +35,7 @@ use Friendica\Object\Image;
|
|||
use Friendica\Protocol\ActivityNamespace;
|
||||
use Friendica\Util\Crypto;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Images;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\Strings;
|
||||
use Friendica\Util\XML;
|
||||
|
@ -504,7 +505,7 @@ class DFRN
|
|||
$uid
|
||||
);
|
||||
$photos = [];
|
||||
$ext = Image::supportedTypes();
|
||||
$ext = Images::supportedTypes();
|
||||
|
||||
foreach ($rp as $p) {
|
||||
$photos[$p['scale']] = System::baseUrl().'/photo/'.$p['resource-id'].'-'.$p['scale'].'.'.$ext[$p['type']];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue