summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-20 22:47:57 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-20 22:47:57 +0100
commit5ded5c6fc198783b8f2f59f488b1dc80ad9aa837 (patch)
treedccfe26ac3ee25b925fa5142f3059d449b807ef1 /apps/files_external
parent99b54e102d5bb4e83d46b748a6952f8d4c53c5d6 (diff)
downloadnextcloud-server-5ded5c6fc198783b8f2f59f488b1dc80ad9aa837.tar.gz
nextcloud-server-5ded5c6fc198783b8f2f59f488b1dc80ad9aa837.zip
Add availability methods to files_external FailedStorage
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/failedstorage.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/files_external/lib/failedstorage.php b/apps/files_external/lib/failedstorage.php
index 6afa98052c2..22ee5326491 100644
--- a/apps/files_external/lib/failedstorage.php
+++ b/apps/files_external/lib/failedstorage.php
@@ -197,4 +197,12 @@ class FailedStorage extends Common {
throw new StorageNotAvailableException($this->e->getMessage(), $this->e->getCode(), $this->e);
}
+ public function getAvailability() {
+ throw new StorageNotAvailableException($this->e->getMessage(), $this->e->getCode(), $this->e);
+ }
+
+ public function setAvailability($isAvailable) {
+ throw new StorageNotAvailableException($this->e->getMessage(), $this->e->getCode(), $this->e);
+ }
+
}