diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-27 14:05:11 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-27 14:05:11 +0200 |
commit | 90b5cf680fa504dbbcec36daa0b8311887c9fca7 (patch) | |
tree | a644cf04a2af29ab9a5b0fb264eca9727d7453dd /apps/calendar/lib | |
parent | c7de74c4719c5825063d60b808932b53c01f3f1c (diff) | |
parent | 12f7cb87679453fa96c796df857b7e7193d4ee09 (diff) | |
download | nextcloud-server-90b5cf680fa504dbbcec36daa0b8311887c9fca7.tar.gz nextcloud-server-90b5cf680fa504dbbcec36daa0b8311887c9fca7.zip |
Merge branch 'master' into calendar_export
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r-- | apps/calendar/lib/object.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index 7f3322b1ab5..0531a56fc50 100644 --- a/apps/calendar/lib/object.php +++ b/apps/calendar/lib/object.php @@ -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 |