mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
Improved resource id creation
This commit is contained in:
parent
d90b93cfda
commit
a3af6807ac
9 changed files with 23 additions and 37 deletions
|
@ -521,7 +521,7 @@ class User
|
|||
if ($Image->isValid()) {
|
||||
$Image->scaleToSquare(175);
|
||||
|
||||
$hash = photo_new_resource();
|
||||
$hash = Photo::newResource();
|
||||
|
||||
$r = Photo::store($Image, $uid, 0, $hash, $filename, L10n::t('Profile Photos'), 4);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue