From 5ded5c6fc198783b8f2f59f488b1dc80ad9aa837 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Thu, 20 Aug 2015 22:47:57 +0100 Subject: Add availability methods to files_external FailedStorage --- apps/files_external/lib/failedstorage.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps') 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); + } + } -- cgit v1.2.3