diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-20 22:47:57 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-20 22:47:57 +0100 |
commit | 5ded5c6fc198783b8f2f59f488b1dc80ad9aa837 (patch) | |
tree | dccfe26ac3ee25b925fa5142f3059d449b807ef1 /apps/files_external | |
parent | 99b54e102d5bb4e83d46b748a6952f8d4c53c5d6 (diff) | |
download | nextcloud-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.php | 8 |
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); + } + } |