mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
UUID is now createUUID
This commit is contained in:
parent
5639054699
commit
cb9be8a7ab
12 changed files with 20 additions and 20 deletions
|
@ -167,7 +167,7 @@ class System extends BaseObject
|
|||
* @param bool|string $prefix A given prefix (default is empty)
|
||||
* @return string a generated UUID
|
||||
*/
|
||||
public static function UUID($prefix = '')
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue