summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-05-27 21:15:39 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-06 09:56:00 +0200
commitcf5eb0fef546de0523157e943a97abcc8f3d1186 (patch)
tree2f062e2719d0fd8b9fa22b1fb797af7665b7dc0f /apps/files_encryption
parent24f3f6823eb6c7d293295864799f4d19aeee3783 (diff)
downloadnextcloud-server-cf5eb0fef546de0523157e943a97abcc8f3d1186.tar.gz
nextcloud-server-cf5eb0fef546de0523157e943a97abcc8f3d1186.zip
remove unused variable
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/hooks/hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 99edcf25ec5..f546ef72373 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);
}