summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-06-25 11:22:08 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-06-25 11:22:08 +0200
commit06367d8b81407fc2948e0f666b38f4de2dffbd89 (patch)
treed5cfb74e70560f3abce5aeccf8994dcbe2829e24 /appinfo/app.php
parent60c4dfbd9661b93bce14a6a429a3f23d19b5327c (diff)
style fixes
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index e50525a5c..cacd0637d 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -13,6 +13,8 @@
namespace OCA\News\AppInfo;
+use \OCA\News\Config\DependencyException;
+
$container = new Application();
$config = $container->getAppConfig();
@@ -24,7 +26,7 @@ $config->registerHooks();
// check for correct app dependencies
try {
$config->testDependencies();
-} catch(\OCA\News\Config\DependencyException $e) {
+} catch(DependencyException $e) {
$logger = $container->getLogger();
$params = $container->getLoggerParameters();
$logger->emergency($e->getMessage(), $params);