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
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment