Merge pull request #22903 from nextcloud/techdebt/16696/no-need-to-get-full-path-again
Do not fetch the normalized full path again if it is already available
This commit is contained in:
commit
d144a84df1
|
@ -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…
Reference in New Issue