summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-11-21 12:55:41 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-11-21 12:55:41 (GMT)
commitf9e821e2ec2462720ac1d57951e6766cde4f71dc (patch)
tree0eb86b5b71ced19420f6f9a40da0416a8f101883 /lib
parent51e77fd51ff25cdfd0bd965ec24ced5bb4a383b0 (diff)
downloadiRony-f9e821e2ec2462720ac1d57951e6766cde4f71dc.tar.gz
Make generated folder UIDs really unique
Diffstat (limited to 'lib')
-rw-r--r--lib/Kolab/Utils/DAVBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/Utils/DAVBackend.php b/lib/Kolab/Utils/DAVBackend.php
index 0989032..098a353 100644
--- a/lib/Kolab/Utils/DAVBackend.php
+++ b/lib/Kolab/Utils/DAVBackend.php
@@ -72,7 +72,7 @@ class DAVBackend
}
// generate a folder UID and set it to IMAP
- $uid = rtrim(chunk_split(md5($folder->name . $folder->get_owner()), 12, '-'), '-');
+ $uid = rtrim(chunk_split(md5($folder->name . $folder->get_owner() . uniqid('-', true)), 12, '-'), '-');
self::set_uid($folder, $uid);
return $uid;