mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Do not fetch the normalized full path again if it is already available
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
05edd1e5d6
commit
063ac9d353
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue