diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/AppConfig.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index f42dddf663d..deef96b1d41 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -844,10 +844,6 @@ class AppConfig implements IAppConfig { $this->loadConfigAll(); $lazy = $this->isLazy($app, $key); - if (!$this->hasKey($app, $key, $lazy)) { - throw new AppConfigUnknownKeyException('Unknown config key'); - } - // type can only be one type if (!in_array($type, [self::VALUE_MIXED, self::VALUE_STRING, self::VALUE_INT, self::VALUE_FLOAT, self::VALUE_BOOL, self::VALUE_ARRAY])) { throw new AppConfigIncorrectTypeException('Unknown value type'); |