summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-08 17:57:59 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-08 17:57:59 +0100
commita03279a3a857c59775f6ad54aeaebac7d6c2073b (patch)
tree0572d25e7ee7ac4fdf03b3b49afbfafd2c99f0f8 /lib
parenta35d5625e0ff3e50ab18b4079c630837e8322ffd (diff)
parent26a8fb157d5baa1c65e84754c9957ca817a5ef88 (diff)
downloadnextcloud-server-a03279a3a857c59775f6ad54aeaebac7d6c2073b.tar.gz
nextcloud-server-a03279a3a857c59775f6ad54aeaebac7d6c2073b.zip
Merge pull request #22207 from owncloud/mountcache-exists-check
better exists check for insert mount cache
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/config/usermountcache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/config/usermountcache.php b/lib/private/files/config/usermountcache.php
index a2da3e9f528..35f40353190 100644
--- a/lib/private/files/config/usermountcache.php
+++ b/lib/private/files/config/usermountcache.php
@@ -129,7 +129,7 @@ class UserMountCache implements IUserMountCache {
'root_id' => $mount->getRootId(),
'user_id' => $mount->getUser()->getUID(),
'mount_point' => $mount->getMountPoint()
- ]);
+ ], ['root_id', 'user_id']);
}
private function setMountPoint(ICachedMountInfo $mount) {