diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-02-05 16:48:08 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-02-05 16:48:08 +0100 |
commit | fb76d7de69e0f13f196a644cfded0a6e079e7200 (patch) | |
tree | 9bb6f9a93c76519493f6fce40a795c7f30eda917 /lib/private/files/storage/wrapper | |
parent | 7dde2c773f4efee0094176fe76b2c64f4f74a1ea (diff) | |
download | nextcloud-server-fb76d7de69e0f13f196a644cfded0a6e079e7200.tar.gz nextcloud-server-fb76d7de69e0f13f196a644cfded0a6e079e7200.zip |
remove unused Storage->getLocalFolder
Diffstat (limited to 'lib/private/files/storage/wrapper')
-rw-r--r-- | lib/private/files/storage/wrapper/availability.php | 11 | ||||
-rw-r--r-- | lib/private/files/storage/wrapper/jail.php | 11 | ||||
-rw-r--r-- | lib/private/files/storage/wrapper/wrapper.php | 11 |
3 files changed, 0 insertions, 33 deletions
diff --git a/lib/private/files/storage/wrapper/availability.php b/lib/private/files/storage/wrapper/availability.php index 1550c318ce3..55ddb0d5e8f 100644 --- a/lib/private/files/storage/wrapper/availability.php +++ b/lib/private/files/storage/wrapper/availability.php @@ -377,17 +377,6 @@ class Availability extends Wrapper { } /** {@inheritdoc} */ - public function getLocalFolder($path) { - $this->checkAvailability(); - try { - return parent::getLocalFolder($path); - } catch (\OCP\Files\StorageNotAvailableException $e) { - $this->setAvailability(false); - throw $e; - } - } - - /** {@inheritdoc} */ public function hasUpdated($path, $time) { $this->checkAvailability(); try { diff --git a/lib/private/files/storage/wrapper/jail.php b/lib/private/files/storage/wrapper/jail.php index 40738befd93..e5f5ab90359 100644 --- a/lib/private/files/storage/wrapper/jail.php +++ b/lib/private/files/storage/wrapper/jail.php @@ -353,17 +353,6 @@ class Jail extends Wrapper { } /** - * get the path to a local version of the folder. - * The local version of the folder can be temporary and doesn't have to be persistent across requests - * - * @param string $path - * @return string - */ - public function getLocalFolder($path) { - return $this->storage->getLocalFolder($this->getSourcePath($path)); - } - - /** * check if a file or folder has been updated since $time * * @param string $path diff --git a/lib/private/files/storage/wrapper/wrapper.php b/lib/private/files/storage/wrapper/wrapper.php index c632aa399e1..12914e7a1b8 100644 --- a/lib/private/files/storage/wrapper/wrapper.php +++ b/lib/private/files/storage/wrapper/wrapper.php @@ -354,17 +354,6 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage { } /** - * get the path to a local version of the folder. - * The local version of the folder can be temporary and doesn't have to be persistent across requests - * - * @param string $path - * @return string - */ - public function getLocalFolder($path) { - return $this->storage->getLocalFolder($path); - } - - /** * check if a file or folder has been updated since $time * * @param string $path |