From cf5eb0fef546de0523157e943a97abcc8f3d1186 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 27 May 2014 21:15:39 +0200 Subject: [PATCH] remove unused variable --- apps/files_encryption/hooks/hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php index 99edcf25ec..f546ef7237 100644 --- a/apps/files_encryption/hooks/hooks.php +++ b/apps/files_encryption/hooks/hooks.php @@ -658,7 +658,7 @@ class Hooks { foreach ($allFiles as $path) { // check if the user still has access to the file, otherwise delete share key - $sharingUsers = $result = \OCP\Share::getUsersSharingFile($path, $user); + $sharingUsers = \OCP\Share::getUsersSharingFile($path, $user); if (!in_array(\OCP\User::getUser(), $sharingUsers['users'])) { Keymanager::delShareKey($view, array(\OCP\User::getUser()), $path); }