aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-02-04 16:47:41 +0100
committerRobin Appelman <icewind@owncloud.com>2016-02-04 16:47:41 +0100
commitd83b1f3b8b2941a0a608a17527bf3b20f6b60407 (patch)
treee2201786f29a6ad6ad8c5812a3065d47fcce4746
parentb12d449ec7b50f928ab366b415d520113959aea6 (diff)
downloadnextcloud-server-d83b1f3b8b2941a0a608a17527bf3b20f6b60407.tar.gz
nextcloud-server-d83b1f3b8b2941a0a608a17527bf3b20f6b60407.zip
fix error code for unconfigured user provided auth
-rw-r--r--apps/files_external/lib/insufficientdataformeaningfulanswerexception.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files_external/lib/insufficientdataformeaningfulanswerexception.php b/apps/files_external/lib/insufficientdataformeaningfulanswerexception.php
index 871301b9b51..22d83ef56f4 100644
--- a/apps/files_external/lib/insufficientdataformeaningfulanswerexception.php
+++ b/apps/files_external/lib/insufficientdataformeaningfulanswerexception.php
@@ -27,4 +27,15 @@ use \OCP\Files\StorageNotAvailableException;
* Authentication mechanism or backend has insufficient data
*/
class InsufficientDataForMeaningfulAnswerException extends StorageNotAvailableException {
+ /**
+ * StorageNotAvailableException constructor.
+ *
+ * @param string $message
+ * @param int $code
+ * @param \Exception $previous
+ * @since 6.0.0
+ */
+ public function __construct($message = '', $code = self::STATUS_INDETERMINATE, \Exception $previous = null) {
+ parent::__construct($message, $code, $previous);
+ }
}