aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-02-08 15:18:42 +0100
committerRobin Appelman <icewind@owncloud.com>2016-02-08 15:18:42 +0100
commit26a8fb157d5baa1c65e84754c9957ca817a5ef88 (patch)
tree101dc4ae7173d86107114a7ccdb9e0d184717ba1
parentcf1f92cc12ff8d38c4801d122adc83304cd95e44 (diff)
downloadnextcloud-server-26a8fb157d5baa1c65e84754c9957ca817a5ef88.tar.gz
nextcloud-server-26a8fb157d5baa1c65e84754c9957ca817a5ef88.zip
better exists check for insert mount cache
-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) {