aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-05-27 12:02:27 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-05-27 17:35:06 +0200
commit8b355788333f9078066b3f877c4e5c1c4001597c (patch)
tree662a18123c5f47951afa683edc91acbadd14edca /apps/files_encryption/hooks
parentf8d1c32112c919bbdfc89a35d77ea84412800470 (diff)
downloadnextcloud-server-8b355788333f9078066b3f877c4e5c1c4001597c.tar.gz
nextcloud-server-8b355788333f9078066b3f877c4e5c1c4001597c.zip
fix migration from old to new encryption
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r--apps/files_encryption/hooks/hooks.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 2066300a163..07072fb8c44 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -81,8 +81,6 @@ class Hooks {
$session->setLegacyKey( $plainLegacyKey );
}
-
- $publicKey = Keymanager::getPublicKey( $view, $params['uid'] );
// Encrypt existing user files:
// This serves to upgrade old versions of the encryption