Browse Source
Do not fetch the normalized full path again if it is already available
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/22903/head
Morris Jobke
5 years ago
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with
1 additions and
1 deletions
-
lib/private/Files/Storage/Wrapper/Encryption.php
|
|
@ -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); |
|
|
|