diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-12-17 11:28:05 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-12-17 11:28:05 +0100 |
commit | 83417d69be216c4ed58402006df3b901a95483ea (patch) | |
tree | cb15d4e64c52ac8854ea046882a4f48f94dd4f99 /apps/files_encryption | |
parent | 5a1194520ec71e9f471289a6f85e4c2aa93a9e59 (diff) | |
download | nextcloud-server-83417d69be216c4ed58402006df3b901a95483ea.tar.gz nextcloud-server-83417d69be216c4ed58402006df3b901a95483ea.zip |
remove duplicated code
Diffstat (limited to 'apps/files_encryption')
-rw-r--r-- | apps/files_encryption/lib/proxy.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php index 96667493a51..41f352d853a 100644 --- a/apps/files_encryption/lib/proxy.php +++ b/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)) { |