mirror of
https://github.com/friendica/friendica
synced 2025-04-29 15:44:24 +02:00
Apply suggestions from code review
Switch to `isWritable` Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
90a5814a7f
commit
36e21cacc9
9 changed files with 26 additions and 26 deletions
|
@ -69,9 +69,9 @@ class ReadOnlyFileConfig implements IManageConfigValues
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public function isSetDisabled(string $cat, string $key): bool
|
||||
public function isWritable(string $cat, string $key): bool
|
||||
{
|
||||
return $this->configCache->getSource($cat, $key) >= Cache::SOURCE_ENV;
|
||||
return $this->configCache->getSource($cat, $key) < Cache::SOURCE_ENV;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue