diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-12-08 14:21:48 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-12-08 14:21:48 +0000 |
| commit | 993b408626a00da02a1f284347adfd1a14caca40 (patch) | |
| tree | 92d7ed4ed3c3653d85bc179bfbf6a36ffe28ef3e /index.php | |
| parent | 91495569c5a00349a68e84e2297e0c2b3ffb458e (diff) | |
| download | webtrees-993b408626a00da02a1f284347adfd1a14caca40.tar.gz webtrees-993b408626a00da02a1f284347adfd1a14caca40.tar.bz2 webtrees-993b408626a00da02a1f284347adfd1a14caca40.zip | |
Unused import
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,8 +40,6 @@ use Fisharebest\Webtrees\View; use Fisharebest\Webtrees\Webtrees; use League\Flysystem\Adapter\Local; use League\Flysystem\Filesystem; -use Symfony\Component\HttpFoundation\JsonResponse; -use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -110,6 +108,7 @@ try { $html = view('layouts/error', ['content' => $content]); $response = new Response($html, Response::HTTP_SERVICE_UNAVAILABLE); $response->prepare($request)->send(); + return; } catch (Throwable $exception) { define('WT_DATA_DIR', 'data/'); @@ -118,6 +117,7 @@ try { $html = view('layouts/error', ['content' => $content]); $response = new Response($html, Response::HTTP_SERVICE_UNAVAILABLE); $response->prepare($request)->send(); + return; } |
