]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add back exit()
authorVincent Petry <pvince81@owncloud.com>
Mon, 26 Jan 2015 15:07:28 +0000 (16:07 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 26 Jan 2015 15:07:28 +0000 (16:07 +0100)
apps/files_sharing/ajax/external.php

index 3d6d589aff8f2d3653e02bc8eecf9dcc2186dcd7..2813faf607be53696a86187a6c958dc3722266b5 100644 (file)
@@ -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) {