diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-05-17 14:49:54 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-05-17 14:49:54 +0200 |
commit | 002445e23d8dcefe2545f22e6914d7cfa7ebbbd1 (patch) | |
tree | de681771c2e949b73fe3dd2f97c930b3e5209ea2 /apps | |
parent | 93771f735b2347eb851941a414220af7b6ccd066 (diff) | |
download | nextcloud-server-002445e23d8dcefe2545f22e6914d7cfa7ebbbd1.tar.gz nextcloud-server-002445e23d8dcefe2545f22e6914d7cfa7ebbbd1.zip |
some typo fixed
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_encryption/lib/util.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php index a2dee1ca71f..f1042ed759a 100644 --- a/apps/files_encryption/lib/util.php +++ b/apps/files_encryption/lib/util.php @@ -716,8 +716,8 @@ class Util { $sharingEnabled = \OCP\Share::isEnabled(); // if file exists try to get sharing users - if ($view->file_exists($legacyFile['path'])) { - $uniqueUserIds = $util->getSharingUsersArray($sharingEnabled, $legacyFile['path'], $this->userId); + if ($this->view->file_exists($legacyFile['path'])) { + $uniqueUserIds = $this->getSharingUsersArray($sharingEnabled, $legacyFile['path'], $this->userId); } else { $uniqueUserIds[] = $this->userId; } @@ -726,7 +726,7 @@ class Util { $publicKeys = Keymanager::getPublicKeys($this->view, $uniqueUserIds); // Recrypt data, generate catfile - $recrypted = Crypt::legacyKeyRecryptKeyfile($legacyData, $legacyPassphrase, $publicKey, $newPassphrase, $legacyFile['path'], $publicKeys); + $recrypted = Crypt::legacyKeyRecryptKeyfile($legacyData, $legacyPassphrase, $publicKeys, $newPassphrase, $legacyFile['path']); $rawPath = $legacyFile['path']; $relPath = $this->stripUserFilesPath($rawPath); |