Skip to content
Snippets Groups Projects
Unverified Commit d144a84d authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

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
parents 681e51c0 063ac9d3
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,7 @@ class Encryption extends Wrapper { ...@@ -263,7 +263,7 @@ class Encryption extends Wrapper {
$encryptionModule = $this->getEncryptionModule($path); $encryptionModule = $this->getEncryptionModule($path);
if ($encryptionModule) { if ($encryptionModule) {
$this->keyStorage->deleteAllFileKeys($this->getFullPath($path)); $this->keyStorage->deleteAllFileKeys($fullPath);
} }
return $this->storage->unlink($path); return $this->storage->unlink($path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment