1
0
Fork 0

Fixup and adding tests

This commit is contained in:
Philipp Holzer 2023-03-26 22:27:24 +02:00
commit e072c9985e
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
3 changed files with 72 additions and 2 deletions

View file

@ -83,7 +83,7 @@ class DatabaseConfig implements IManageConfigValues
/** {@inheritDoc} */
public function isSetDisabled(string $cat, string $key): bool
{
return $this->cache->getSource($cat, $key) >= 0;
return $this->cache->getSource($cat, $key) >= Cache::SOURCE_ENV;
}
/** {@inheritDoc} */