summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/View.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-02-28 14:14:20 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-04-03 10:52:34 +0200
commit4393b96542be6b0495d93cf9ed87e9b51b36121f (patch)
treef23cb5b2ef04edf7f16eecd6035545f1098dc9e8 /lib/private/Files/View.php
parent966a3e696335d9dad2cc8dfa2ec44d44298626ff (diff)
downloadnextcloud-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 'lib/private/Files/View.php')
-rw-r--r--lib/private/Files/View.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index 2a6b34f2de6..4ee44b995b3 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -235,20 +235,6 @@ class View {
}
/**
- * @param string $path
- */
- public function getLocalFolder($path): string|bool {
- $parent = substr($path, 0, strrpos($path, '/') ?: 0);
- $path = $this->getAbsolutePath($path);
- [$storage, $internalPath] = Filesystem::resolvePath($path);
- if (Filesystem::isValidPath($parent) and $storage) {
- return $storage->getLocalFolder($internalPath);
- } else {
- return false;
- }
- }
-
- /**
* the following functions operate with arguments and return values identical
* to those of their PHP built-in equivalents. Mostly they are merely wrappers
* for \OC\Files\Storage\Storage via basicOperation().