remove unused variable

This commit is contained in:
Bjoern Schiessle 2014-05-27 21:15:39 +02:00 committed by Robin Appelman
parent 24f3f6823e
commit cf5eb0fef5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}