aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-09-17 09:56:45 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-09-17 09:56:45 +0200
commit063ac9d353c9705485ff9d04b2c141d167ec0928 (patch)
tree72bc8b0638b28668a8652af85ef3fc79c95f7523 /lib/private
parent05edd1e5d6156766d072a9bf4782293b37210977 (diff)
downloadnextcloud-server-063ac9d353c9705485ff9d04b2c141d167ec0928.tar.gz
nextcloud-server-063ac9d353c9705485ff9d04b2c141d167ec0928.zip
Do not fetch the normalized full path again if it is already available
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/Storage/Wrapper/Encryption.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php
index c58387bbc2c..3a97764fbb8 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/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);