From f5c361cf44739058b79f322576a1bad2d8c142d9 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Fri, 20 Jan 2023 11:45:08 +0100 Subject: composer run cs:fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/Files/Storage/Wrapper/Encryption.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/private/Files/Storage/Wrapper/Encryption.php') diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php index 2f7123426d1..be0db3d414a 100644 --- a/lib/private/Files/Storage/Wrapper/Encryption.php +++ b/lib/private/Files/Storage/Wrapper/Encryption.php @@ -375,7 +375,6 @@ class Encryption extends Wrapper { * @throws ModuleDoesNotExistsException */ public function fopen($path, $mode) { - // check if the file is stored in the array cache, this means that we // copy a file over to the versions folder, in this case we don't want to // decrypt it @@ -685,7 +684,6 @@ class Encryption extends Wrapper { $preserveMtime = false, $isRename = false ) { - // TODO clean this up once the underlying moveFromStorage in OC\Files\Storage\Wrapper\Common is fixed: // - call $this->storage->copyFromStorage() instead of $this->copyBetweenStorage // - copy the file cache update from $this->copyBetweenStorage to this method @@ -766,7 +764,6 @@ class Encryption extends Wrapper { $preserveMtime, $isRename ) { - // for versions we have nothing to do, because versions should always use the // key from the original file. Just create a 1:1 copy and done if ($this->isVersion($targetInternalPath) || -- cgit v1.2.3