summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/config.php
diff options
context:
space:
mode:
authorJesús Macias <jmacias@solidgear.es>2015-11-25 11:58:54 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-12-03 09:57:54 +0100
commitb17f26834df37819656b83936c34d8957c344fac (patch)
tree38ac3f18c04814135567d59a3db09567f2889bb2 /apps/files_external/lib/config.php
parentc6bda8d6caf910cecc15adb0ef81ec96eafdfada (diff)
downloadnextcloud-server-b17f26834df37819656b83936c34d8957c344fac.tar.gz
nextcloud-server-b17f26834df37819656b83936c34d8957c344fac.zip
Add different storage status codes managed by StoragedNotAvailableException
Diffstat (limited to 'apps/files_external/lib/config.php')
-rw-r--r--apps/files_external/lib/config.php4
1 files changed, 4 insertions, 0 deletions
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;