summaryrefslogtreecommitdiffstats
path: root/lib/public/files
diff options
context:
space:
mode:
authorJesús Macias <jmacias@solidgear.es>2015-11-26 17:51:47 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-12-03 09:59:45 +0100
commit98f5c50aa47207d98d99dde97f56204ef53d066c (patch)
tree774722abdf050d43745cf0d9d330fc87f10308d9 /lib/public/files
parent4ead2bc8610d11802c8814976bd80c544459235e (diff)
downloadnextcloud-server-98f5c50aa47207d98d99dde97f56204ef53d066c.tar.gz
nextcloud-server-98f5c50aa47207d98d99dde97f56204ef53d066c.zip
Migrate storate status code to storagenotavailablexception
Diffstat (limited to 'lib/public/files')
-rw-r--r--lib/public/files/storagenotavailableexception.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/files/storagenotavailableexception.php b/lib/public/files/storagenotavailableexception.php
index fe270e76b4e..323f5d9b7f8 100644
--- a/lib/public/files/storagenotavailableexception.php
+++ b/lib/public/files/storagenotavailableexception.php
@@ -37,6 +37,9 @@ use OC\HintException;
*/
class StorageNotAvailableException extends HintException {
+ 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;