aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/util.php
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/lib/util.php
parentbdf74090fc073a9968a14ff53e7d70954f5920e8 (diff)
downloadnextcloud-server-eaa61b8539bcd1f428d8fad1d67894e8cb4f271a.tar.gz
nextcloud-server-eaa61b8539bcd1f428d8fad1d67894e8cb4f271a.zip
fix migration to new encryption
Diffstat (limited to 'apps/files_encryption/lib/util.php')
-rw-r--r--apps/files_encryption/lib/util.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php
index f1042ed759a..9588db8d647 100644
--- a/apps/files_encryption/lib/util.php
+++ b/apps/files_encryption/lib/util.php
@@ -652,11 +652,10 @@ class Util {
/**
* @brief Encrypt all files in a directory
- * @param string $publicKey the public key to encrypt files with
* @param string $dirPath the directory whose files will be encrypted
* @note Encryption is recursive
*/
- public function encryptAll($publicKey, $dirPath, $legacyPassphrase = null, $newPassphrase = null) {
+ public function encryptAll($dirPath, $legacyPassphrase = null, $newPassphrase = null) {
if ($found = $this->findEncFiles($dirPath)) {