Make generated folder UIDs really unique
This commit is contained in:
parent
158fa06a3c
commit
21286f0bbb
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class kolab_storage_folder
|
|||
}
|
||||
|
||||
// generate a folder UID and set it to IMAP
|
||||
$uid = rtrim(chunk_split(md5($this->name . $this->get_owner()), 12, '-'), '-');
|
||||
$uid = rtrim(chunk_split(md5($this->name . $this->get_owner() . uniqid('-', true)), 12, '-'), '-');
|
||||
$this->set_uid($uid);
|
||||
|
||||
return $uid;
|
||||
|
|
Loading…
Add table
Reference in a new issue