aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-01-26 16:07:28 +0100
committerVincent Petry <pvince81@owncloud.com>2015-01-26 16:07:28 +0100
commit5376b0b123873269a92d9aa45f6233c48c2720df (patch)
tree5896b25bf7bf85f65bc9cbbab37a3faae8af2ab5 /apps/files_sharing/ajax
parent87ce64c24e4320c2dca9327010e3048141df3686 (diff)
downloadnextcloud-server-5376b0b123873269a92d9aa45f6233c48c2720df.tar.gz
nextcloud-server-5376b0b123873269a92d9aa45f6233c48c2720df.zip
Add back exit()
Diffstat (limited to 'apps/files_sharing/ajax')
-rw-r--r--apps/files_sharing/ajax/external.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/ajax/external.php b/apps/files_sharing/ajax/external.php
index 3d6d589aff8..2813faf607b 100644
--- a/apps/files_sharing/ajax/external.php
+++ b/apps/files_sharing/ajax/external.php
@@ -77,7 +77,7 @@ if (substr($remote, 0, 5) === 'https' and !OC_Util::getUrlContent($remote)) {
);
$externalManager->removeShare($mount->getMountPoint());
\OCP\JSON::error(array('data' => array('message' => $l->t('Storage not valid'))));
- throw new \OCP\Files\StorageNotAvailableException(get_class($e).': '.$e->getMessage());
+ exit();
}
$result = $storage->file_exists('');
if ($result) {