Remove unreachable statement

This commit is contained in:
Lukas Reschke 2014-10-23 23:03:14 +02:00
parent e26a16afea
commit c30b7f8197
1 changed files with 0 additions and 1 deletions

View File

@ -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';