From 063ac9d353c9705485ff9d04b2c141d167ec0928 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 17 Sep 2020 09:56:45 +0200 Subject: [PATCH] Do not fetch the normalized full path again if it is already available Signed-off-by: Morris Jobke --- lib/private/Files/Storage/Wrapper/Encryption.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);