Add availability methods to files_external FailedStorage

This commit is contained in:
Robin McCorkell 2015-08-20 22:47:57 +01:00
parent 99b54e102d
commit 5ded5c6fc1

View file

@ -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);
}
}