From c30b7f8197df6cb5a5a99737d4303d41e797f322 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Thu, 23 Oct 2014 23:03:14 +0200
Subject: [PATCH] Remove unreachable statement

---
 lib/private/share/share.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 48b1a53162..b7b05dab8e 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -672,7 +672,6 @@ class Share extends \OC\Share\Constants {
 			$message_t = $l->t('Sharing %s failed, because sharing with links is not allowed', array($itemSourceName));
 			\OC_Log::write('OCP\Share', sprintf($message, $itemSourceName), \OC_Log::ERROR);
 			throw new \Exception($message_t);
-			return false;
 		} else {
 			// Future share types need to include their own conditions
 			$message = 'Share type %s is not valid for %s';
-- 
GitLab