aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-05-17 17:29:32 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-05-17 17:29:32 +0200
commiteaa61b8539bcd1f428d8fad1d67894e8cb4f271a (patch)
treed7724a0ebdbb720da73c393b4adbf870cef80528 /apps/files_encryption/hooks
parentbdf74090fc073a9968a14ff53e7d70954f5920e8 (diff)
downloadnextcloud-server-eaa61b8539bcd1f428d8fad1d67894e8cb4f271a.tar.gz
nextcloud-server-eaa61b8539bcd1f428d8fad1d67894e8cb4f271a.zip
fix migration to new encryption
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r--apps/files_encryption/hooks/hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 76a19ff968c..72334559b8c 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -88,7 +88,7 @@ class Hooks {
// This serves to upgrade old versions of the encryption
// app (see appinfo/spec.txt)
if (
- $util->encryptAll( $publicKey, '/' . $params['uid'] . '/' . 'files', $session->getLegacyKey(), $params['password'] )
+ $util->encryptAll( '/' . $params['uid'] . '/' . 'files', $session->getLegacyKey(), $params['password'] )
) {
\OC_Log::write(