diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-01-26 16:07:28 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-01-26 16:07:28 +0100 |
commit | 5376b0b123873269a92d9aa45f6233c48c2720df (patch) | |
tree | 5896b25bf7bf85f65bc9cbbab37a3faae8af2ab5 /apps/files_sharing/ajax | |
parent | 87ce64c24e4320c2dca9327010e3048141df3686 (diff) | |
download | nextcloud-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.php | 2 |
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) { |