Photo model: fix docs, don't update "created" field

in store() if photo exists, don't update "created" timestamp
This commit is contained in:
fabrixxm 2018-11-22 17:25:43 +01:00 committed by Hypolite Petovan
parent 6f59c82978
commit 7df3f117ac
2 changed files with 20 additions and 16 deletions

View file

@ -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);
}
/**