Merge branch 'master' of gitorious.org:owncloud/owncloud

This commit is contained in:
Bjoern Schiessle 2012-06-26 15:48:21 +02:00
commit 7dc72a48cc
1 changed files with 8 additions and 0 deletions

View File

@ -217,6 +217,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