remove duplicated code

remotes/origin/ldap_group_count
Bjoern Schiessle 11 years ago
parent 5a1194520e
commit 83417d69be
  1. 5
      apps/files_encryption/lib/proxy.php

@ -209,10 +209,7 @@ class Proxy extends \OC_FileProxy {
$util = new Util($view, $userId);
// get relative path
$relativePath = \OCA\Encryption\Helper::stripUserFilesPath($path);
list($owner, $ownerPath) = $util->getUidAndFilename($relativePath);
list($owner, $ownerPath) = $util->getUidAndFilename($relPath);
// Delete keyfile & shareKey so it isn't orphaned
if (!Keymanager::deleteFileKey($view, $ownerPath)) {

Loading…
Cancel
Save