mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Refactor IManageConfigValues interface
This commit is contained in:
parent
326566638f
commit
1e574d5383
13 changed files with 46 additions and 49 deletions
|
@ -157,7 +157,7 @@ HELP;
|
|||
|
||||
if (count($this->args) == 1) {
|
||||
$cat = $this->getArgument(0);
|
||||
$this->config->load($cat);
|
||||
$this->config->reload();
|
||||
$configCache = $this->config->getCache();
|
||||
|
||||
if ($configCache->get($cat) !== null) {
|
||||
|
@ -178,7 +178,7 @@ HELP;
|
|||
}
|
||||
|
||||
if (count($this->args) == 0) {
|
||||
$this->config->load();
|
||||
$this->config->reload();
|
||||
|
||||
if ($this->config->get('system', 'config_adapter') == 'jit' && $this->appMode->has(App\Mode::DBCONFIGAVAILABLE)) {
|
||||
$this->out('Warning: The JIT (Just In Time) Config adapter doesn\'t support loading the entire configuration, showing file config only');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue