diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-06-06 10:23:03 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-06-11 08:35:51 +0000 |
commit | 9026c98243a97ea1c9952865cf390d8c2cd56b4e (patch) | |
tree | 6d0eb31a4e48f6dba07dd59146aae53b7411efda /apps/encryption | |
parent | 92e053aab323d238b6f2e9ebdbb8e29d36838e1e (diff) | |
download | nextcloud-server-9026c98243a97ea1c9952865cf390d8c2cd56b4e.tar.gz nextcloud-server-9026c98243a97ea1c9952865cf390d8c2cd56b4e.zip |
fix: add default value for new flag `$useDecryptAll` on getFileKey
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/encryption')
-rw-r--r-- | apps/encryption/lib/KeyManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/KeyManager.php b/apps/encryption/lib/KeyManager.php index 87daccc1868..f46faa8a0a1 100644 --- a/apps/encryption/lib/KeyManager.php +++ b/apps/encryption/lib/KeyManager.php @@ -369,7 +369,7 @@ class KeyManager { /** * @param ?bool $useLegacyFileKey null means try both */ - public function getFileKey(string $path, ?string $uid, ?bool $useLegacyFileKey, bool $useDecryptAll): string { + public function getFileKey(string $path, ?string $uid, ?bool $useLegacyFileKey, bool $useDecryptAll = false): string { if ($uid === '') { $uid = null; } |