add OC_Calendar_Object::createUID()
This commit is contained in:
parent
265d7e50f5
commit
ae00f40b97
|
@ -211,6 +211,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
|
||||
* @param Sabre_VObject $object
|
||||
|
|
Loading…
Reference in New Issue