Browse Source

Do not fetch the normalized full path again if it is already available

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v20.0.0RC1
Morris Jobke 3 years ago
parent
commit
063ac9d353
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/Files/Storage/Wrapper/Encryption.php

+ 1
- 1
lib/private/Files/Storage/Wrapper/Encryption.php View File

@@ -263,7 +263,7 @@ class Encryption extends Wrapper {

$encryptionModule = $this->getEncryptionModule($path);
if ($encryptionModule) {
$this->keyStorage->deleteAllFileKeys($this->getFullPath($path));
$this->keyStorage->deleteAllFileKeys($fullPath);
}

return $this->storage->unlink($path);

Loading…
Cancel
Save