diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-26 15:48:21 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-26 15:48:21 +0200 |
commit | 7dc72a48cc15b02b8dc6a380c4edcc826b04378f (patch) | |
tree | 668599d329a16cdf01aeeea484b42b5dad2f7b41 | |
parent | 9cb01bd0931dc081c27906897af0235f9746a9ef (diff) | |
parent | b9ce4e1f406f1ee57d58b409c368a89aa9ddde9a (diff) | |
download | nextcloud-server-7dc72a48cc15b02b8dc6a380c4edcc826b04378f.tar.gz nextcloud-server-7dc72a48cc15b02b8dc6a380c4edcc826b04378f.zip |
Merge branch 'master' of gitorious.org:owncloud/owncloud
-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 |