diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-02-08 15:18:42 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-02-08 15:18:42 +0100 |
commit | 26a8fb157d5baa1c65e84754c9957ca817a5ef88 (patch) | |
tree | 101dc4ae7173d86107114a7ccdb9e0d184717ba1 | |
parent | cf1f92cc12ff8d38c4801d122adc83304cd95e44 (diff) | |
download | nextcloud-server-26a8fb157d5baa1c65e84754c9957ca817a5ef88.tar.gz nextcloud-server-26a8fb157d5baa1c65e84754c9957ca817a5ef88.zip |
better exists check for insert mount cache
-rw-r--r-- | lib/private/files/config/usermountcache.php | 2 |
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) { |