mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #54687 from nextcloud/backport/54620/stable30
[stable30] fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException
This commit is contained in:
commit
0570ce9ec3
1 changed files with 6 additions and 2 deletions
|
|
@ -801,8 +801,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