mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 08:08:33 -04:00
add OC_Calendar_Object::createUID()
This commit is contained in:
parent
72b365842f
commit
b9ce4e1f40
1 changed files with 8 additions and 0 deletions
|
|
@ -216,6 +216,14 @@ class OC_Calendar_Object{
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Creates a UID
|
||||
* @return string
|
||||
*/
|
||||
protected static function createUID(){
|
||||
return substr(md5(rand().time()),0,10);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Extracts data from a vObject-Object
|
||||
|
|
|
|||
Loading…
Reference in a new issue