summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-24 00:18:45 +0200
committerLukas Reschke <lukas@owncloud.com>2014-10-24 00:18:45 +0200
commit46dd59f47b8e916841c6a5f1d1bd52752b78e3a1 (patch)
treee75e302e6f153a68430c6c51b5e3a37ae61a8081
parente26a16afea14df7428dd614906fc94521538dfe3 (diff)
parentc30b7f8197df6cb5a5a99737d4303d41e797f322 (diff)
downloadnextcloud-server-46dd59f47b8e916841c6a5f1d1bd52752b78e3a1.tar.gz
nextcloud-server-46dd59f47b8e916841c6a5f1d1bd52752b78e3a1.zip
Merge pull request #11751 from owncloud/fix-unreachable-statement
Remove unreachable statement
-rw-r--r--lib/private/share/share.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 48b1a531621..b7b05dab8ef 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';