]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix error code for unconfigured user provided auth
authorRobin Appelman <icewind@owncloud.com>
Thu, 4 Feb 2016 15:47:41 +0000 (16:47 +0100)
committerRobin Appelman <icewind@owncloud.com>
Thu, 4 Feb 2016 15:47:41 +0000 (16:47 +0100)
apps/files_external/lib/insufficientdataformeaningfulanswerexception.php

index 871301b9b51aa0e06a6056e703ee5ceb334f70b3..22d83ef56f4cd3e91d6caf9b6f6c38ee2ee85edb 100644 (file)
@@ -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);
+       }
 }