diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-05-27 15:31:26 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-05-27 15:31:26 +0200 |
commit | 1a3f7891ea86f108fbd984b12fe047ffacb20efb (patch) | |
tree | caeafee76384e4f261ba9a293c5d42936862878d /apps/files_encryption/lib | |
parent | 5e243b48bb51e94daa3ba32c9175945d579040c8 (diff) | |
download | nextcloud-server-1a3f7891ea86f108fbd984b12fe047ffacb20efb.tar.gz nextcloud-server-1a3f7891ea86f108fbd984b12fe047ffacb20efb.zip |
remove unused varaibles
Diffstat (limited to 'apps/files_encryption/lib')
-rwxr-xr-x | apps/files_encryption/lib/crypt.php | 4 | ||||
-rw-r--r-- | apps/files_encryption/lib/util.php | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/apps/files_encryption/lib/crypt.php b/apps/files_encryption/lib/crypt.php index f5b7a8a0a40..8e3522917d5 100755 --- a/apps/files_encryption/lib/crypt.php +++ b/apps/files_encryption/lib/crypt.php @@ -640,11 +640,9 @@ class Crypt * @param $legacyEncryptedContent
* @param $legacyPassphrase
* @param $publicKeys
- * @param $newPassphrase
- * @param $path
* @return array
*/
- public static function legacyKeyRecryptKeyfile( $legacyEncryptedContent, $legacyPassphrase, $publicKeys, $newPassphrase, $path ) {
+ public static function legacyKeyRecryptKeyfile( $legacyEncryptedContent, $legacyPassphrase, $publicKeys ) {
$decrypted = self::legacyBlockDecrypt( $legacyEncryptedContent, $legacyPassphrase );
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php index cac67d496e8..7f34d21682d 100644 --- a/apps/files_encryption/lib/util.php +++ b/apps/files_encryption/lib/util.php @@ -720,7 +720,7 @@ class Util $publicKeys = Keymanager::getPublicKeys( $this->view, $uniqueUserIds ); // Recrypt data, generate catfile - $recrypted = Crypt::legacyKeyRecryptKeyfile( $legacyData, $legacyPassphrase, $publicKeys, $newPassphrase, $legacyFile['path'] ); + $recrypted = Crypt::legacyKeyRecryptKeyfile( $legacyData, $legacyPassphrase, $publicKeys ); $rawPath = $legacyFile['path']; $relPath = $this->stripUserFilesPath( $rawPath ); |