summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage
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/Storage
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/Storage')
-rw-r--r--lib/private/Files/Storage/FailedStorage.php4
-rw-r--r--lib/private/Files/Storage/Local.php4
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/private/Files/Storage/FailedStorage.php b/lib/private/Files/Storage/FailedStorage.php
index ceb802570bf..07b3b21d965 100644
--- a/lib/private/Files/Storage/FailedStorage.php
+++ b/lib/private/Files/Storage/FailedStorage.php
@@ -164,10 +164,6 @@ class FailedStorage extends Common {
throw new StorageNotAvailableException($this->e->getMessage(), $this->e->getCode(), $this->e);
}
- public function getLocalFolder($path) {
- throw new StorageNotAvailableException($this->e->getMessage(), $this->e->getCode(), $this->e);
- }
-
public function hasUpdated($path, $time) {
throw new StorageNotAvailableException($this->e->getMessage(), $this->e->getCode(), $this->e);
}
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php
index 1ff733e0d92..448346e5622 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -433,10 +433,6 @@ class Local extends \OC\Files\Storage\Common {
return $this->getSourcePath($path);
}
- public function getLocalFolder($path) {
- return $this->getSourcePath($path);
- }
-
/**
* @param string $query
* @param string $dir