Skip to content

Commit

Permalink
prioritize config.php
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Mar 9, 2021
1 parent c503741 commit c896d3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Service/ConfigService.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ public function getAppValue($key) {
$defaultValue = $this->defaults[$key];
}

if ($this->config->getSystemValue('circles.' . $key, '') !== '') {
return $this->config->getSystemValue('circles.' . $key);
}

return $this->config->getAppValue($this->appName, $key, $defaultValue);
}

Expand Down

0 comments on commit c896d3c

Please sign in to comment.