From b17f26834df37819656b83936c34d8957c344fac Mon Sep 17 00:00:00 2001 From: Jesús Macias Date: Wed, 25 Nov 2015 11:58:54 +0100 Subject: Add different storage status codes managed by StoragedNotAvailableException --- apps/files_external/lib/config.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/files_external/lib') diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 1e96fac8145..bf507233035 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -52,6 +52,10 @@ class OC_Mount_Config { const STATUS_SUCCESS = 0; const STATUS_ERROR = 1; const STATUS_INDETERMINATE = 2; + const STATUS_INCOMPLETE_CONF = 3; + const STATUS_UNAUTHORIZED = 4; + const STATUS_TIMEOUT = 5; + const STATUS_NETWORK_ERROR = 6; // whether to skip backend test (for unit tests, as this static class is not mockable) public static $skipTest = false; -- cgit v1.2.3