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 4c32f32 commit 100efb1
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 100efb1

Please sign in to comment.