diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-09-17 11:54:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 11:54:47 +0200 |
commit | d144a84df128407c41eb291db8d4f24e738a7034 (patch) | |
tree | 06245719f8350fd736340a17345ea6ff52a3221b /lib | |
parent | 681e51c0efde852a8b7bcd43c7bf504e7a0e3c52 (diff) | |
parent | 063ac9d353c9705485ff9d04b2c141d167ec0928 (diff) | |
download | nextcloud-server-d144a84df128407c41eb291db8d4f24e738a7034.tar.gz nextcloud-server-d144a84df128407c41eb291db8d4f24e738a7034.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Encryption.php | 2 |
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); |