summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-29 16:37:07 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-29 16:37:07 +0200
commitb53bbc85ebd9be4ff0a88290e7c1a52443a0f4b9 (patch)
tree35ee46984ff25194056723e960bb34bf855b0b67 /appinfo/app.php
parent861fd3cd7999da1efcc3ee22190b35351c78efc3 (diff)
break on missingn dependencies due to security reasons
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php10
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();