diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-10-02 19:41:40 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-10-03 14:01:36 +0200 |
commit | 167dc70238cc4c82e46714fe55a516d48c0d6c76 (patch) | |
tree | c1222956d8bab43aa79bfc6fc018ad1891215dd5 /lib/AppInfo | |
parent | 11ed50074dd64e5d532cf310a150a77f519a4a0e (diff) |
Fix various 15.0 bugs
Issue #821,#820,#819
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r-- | lib/AppInfo/Application.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 88cba4752..b22775924 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -151,7 +151,7 @@ class Application extends App implements IBootstrap }); //TODO: Remove code after 15.1 - $context->registerService('ConfigView', function (ContainerInterface $c): ?Node { + $context->registerService('ConfigFolder', function (ContainerInterface $c): ?Node { /** @var IRootFolder $fs */ $fs = $c->get(IRootFolder::class); $path = 'news/config'; @@ -165,7 +165,7 @@ class Application extends App implements IBootstrap //TODO: Remove code after 15.1 $context->registerService(LegacyConfig::class, function (ContainerInterface $c): LegacyConfig { $config = new LegacyConfig( - $c->get('ConfigView'), + $c->get('ConfigFolder'), $c->get(LoggerInterface::class) ); $config->read($c->get('configFile'), false); |