From 21e64ec7f41dcf5424c3357f7ce07b22a817a16e Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Mon, 30 Apr 2018 11:49:24 +0200 Subject: implement receiving of federated shares Signed-off-by: Bjoern Schiessle --- .../Federation/Exceptions/ProviderCouldNotAddShareException.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php') diff --git a/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php b/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php index b608437aa3c..205206d5af8 100644 --- a/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php +++ b/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php @@ -22,7 +22,13 @@ namespace OCP\Federation\Exceptions; use OC\HintException; +use OCP\AppFramework\Http; class ProviderCouldNotAddShareException extends HintException { + public function __construct($message, $hint = '', $code = Http::STATUS_BAD_REQUEST, \Exception $previous = null) { + parent::__construct($message, $hint, $code, $previous); + } + + } -- cgit v1.2.3