From d83b1f3b8b2941a0a608a17527bf3b20f6b60407 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 4 Feb 2016 16:47:41 +0100 Subject: [PATCH] fix error code for unconfigured user provided auth --- .../insufficientdataformeaningfulanswerexception.php | 11 +++++++++++ 1 file changed, 11 insertions(+) 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); + } } -- 2.39.5