diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-29 16:37:07 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-29 16:37:07 +0200 |
commit | b53bbc85ebd9be4ff0a88290e7c1a52443a0f4b9 (patch) | |
tree | 35ee46984ff25194056723e960bb34bf855b0b67 /appinfo | |
parent | 861fd3cd7999da1efcc3ee22190b35351c78efc3 (diff) |
break on missingn dependencies due to security reasons
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 8522d8f60..077d0b7c4 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -30,11 +30,5 @@ $config->registerNavigation(); $config->registerBackgroundJobs(); $config->registerHooks(); -// check for correct app dependencies -try { - $config->testDependencies(); -} catch(DependencyException $e) { - $logger = $container->getLogger(); - $params = $container->getLoggerParameters(); - $logger->emergency($e->getMessage(), $params); -} +// check for correct app dependencies and fail if possible +$config->testDependencies(); |