mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Photo model: fix docs, don't update "created" field
in store() if photo exists, don't update "created" timestamp
This commit is contained in:
parent
6f59c82978
commit
7df3f117ac
2 changed files with 20 additions and 16 deletions
|
@ -197,7 +197,7 @@ class System extends BaseObject
|
|||
public static function createUUID($prefix = '')
|
||||
{
|
||||
$guid = System::createGUID(32, $prefix);
|
||||
return substr($guid, 0, 8). '-' . substr($guid, 8, 4) . '-' . substr($guid, 12, 4) . '-' . substr($guid, 16, 4) . '-' . substr($guid, 20, 12);
|
||||
return substr($guid, 0, 8) . '-' . substr($guid, 8, 4) . '-' . substr($guid, 12, 4) . '-' . substr($guid, 16, 4) . '-' . substr($guid, 20, 12);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue