mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #54620 from nextcloud/fix/set-typed-value
fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException
This commit is contained in:
commit
2f4a8bb89c
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