Skip to content
Snippets Groups Projects
Commit ae00f40b authored by Georg Ehrke's avatar Georg Ehrke
Browse files

add OC_Calendar_Object::createUID()

parent 265d7e50
Branches
No related tags found
No related merge requests found
...@@ -211,6 +211,14 @@ class OC_Calendar_Object{ ...@@ -211,6 +211,14 @@ class OC_Calendar_Object{
return true; 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 * @brief Extracts data from a vObject-Object
* @param Sabre_VObject $object * @param Sabre_VObject $object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment