mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:50:11 +00:00
Fixup and adding tests
This commit is contained in:
parent
fa9c3d40be
commit
e072c9985e
3 changed files with 72 additions and 2 deletions
|
@ -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} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue