mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
32f5f6e08e
commit
dbb5705152
1 changed files with 6 additions and 2 deletions
|
|
@ -876,8 +876,12 @@ class AppConfig implements IAppConfig {
|
|||
$type |= self::VALUE_SENSITIVE;
|
||||
}
|
||||
|
||||
if ($lazy !== $this->isLazy($app, $key)) {
|
||||
$refreshCache = true;
|
||||
try {
|
||||
if ($lazy !== $this->isLazy($app, $key)) {
|
||||
$refreshCache = true;
|
||||
}
|
||||
} catch (AppConfigUnknownKeyException) {
|
||||
// pass
|
||||
}
|
||||
|
||||
$update = $this->connection->getQueryBuilder();
|
||||
|
|
|
|||
Loading…
Reference in a new issue