mirror of
https://github.com/friendica/friendica
synced 2025-05-03 05:04:15 +02:00
moved get_guid to System::createGUID
This commit is contained in:
parent
3a179860e5
commit
c829e43725
21 changed files with 105 additions and 88 deletions
|
@ -45,7 +45,7 @@ class Photo
|
|||
if (DBM::is_result($photo)) {
|
||||
$guid = $photo['guid'];
|
||||
} else {
|
||||
$guid = get_guid();
|
||||
$guid = System::createGUID();
|
||||
}
|
||||
|
||||
$existing_photo = dba::selectFirst('photo', ['id'], ['resource-id' => $rid, 'uid' => $uid, 'contact-id' => $cid, 'scale' => $scale]);
|
||||
|
@ -275,6 +275,6 @@ class Photo
|
|||
*/
|
||||
public static function newResource()
|
||||
{
|
||||
return get_guid(32, false);
|
||||
return system::createGUID(32, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue