summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-06-18 13:26:42 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-06-18 13:26:42 +0200
commite20bb71a4241227811b2498262bc455006c6c5e1 (patch)
tree6cedd56c290f358849fb5d135364892b8ec8ab10 /apps/files_encryption/hooks
parent8052d2901dfcfba8e6fb2d37e19275536324ee43 (diff)
downloadnextcloud-server-e20bb71a4241227811b2498262bc455006c6c5e1.tar.gz
nextcloud-server-e20bb71a4241227811b2498262bc455006c6c5e1.zip
remove unused code
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r--apps/files_encryption/hooks/hooks.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 6f739947b0c..df101acab9d 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -406,7 +406,6 @@ class Hooks {
// otherwise we perform a stream copy, so we get a new set of keys
$mp1 = $view->getMountPoint('/' . $user . '/files/' . $params['oldpath']);
$mp2 = $view->getMountPoint('/' . $user . '/files/' . $params['newpath']);
- list($storage1, ) = Filesystem::resolvePath($params['oldpath']);
if ($mp1 === $mp2) {
self::$renamedFiles[$params['oldpath']] = array(