diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-02-28 14:14:20 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-03 10:52:34 +0200 |
commit | 4393b96542be6b0495d93cf9ed87e9b51b36121f (patch) | |
tree | f23cb5b2ef04edf7f16eecd6035545f1098dc9e8 /apps/encryption | |
parent | 966a3e696335d9dad2cc8dfa2ec44d44298626ff (diff) | |
download | nextcloud-server-4393b96542be6b0495d93cf9ed87e9b51b36121f.tar.gz nextcloud-server-4393b96542be6b0495d93cf9ed87e9b51b36121f.zip |
Remove unused method getLocalFolder
It’s not used and not in any OCP interface/class.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/encryption')
-rw-r--r-- | apps/encryption/tests/Command/FixEncryptedVersionTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/tests/Command/FixEncryptedVersionTest.php b/apps/encryption/tests/Command/FixEncryptedVersionTest.php index 5c938b4350d..2a6c86ef5b2 100644 --- a/apps/encryption/tests/Command/FixEncryptedVersionTest.php +++ b/apps/encryption/tests/Command/FixEncryptedVersionTest.php @@ -263,7 +263,7 @@ Fixed the file: \"/$this->userId/files/world.txt\" with version 4", $output); $cacheInfo = ['encryptedVersion' => 1, 'encrypted' => 1]; $cache1->put($fileCache1->getPath(), $cacheInfo); - $absPath = $view->getLocalFolder(''). '/hello.txt'; + $absPath = $storage1->getSourcePath('').$fileInfo1->getInternalPath(); // create unencrypted file on disk, the version stays file_put_contents($absPath, 'hello contents'); |