From 26a8fb157d5baa1c65e84754c9957ca817a5ef88 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 8 Feb 2016 15:18:42 +0100 Subject: better exists check for insert mount cache --- lib/private/files/config/usermountcache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/files') 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) { -- cgit v1.2.3