]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not fetch the normalized full path again if it is already available 22903/head
authorMorris Jobke <hey@morrisjobke.de>
Thu, 17 Sep 2020 07:56:45 +0000 (09:56 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 17 Sep 2020 07:56:45 +0000 (09:56 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
lib/private/Files/Storage/Wrapper/Encryption.php

index c58387bbc2cf5027d3e73edd03c4a1deb807949d..3a97764fbb86e990e89db71103c040cddda1b7e3 100644 (file)
@@ -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);