From c896d3c5176efd942a0b2f503a86d021b3deca0d Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Tue, 9 Mar 2021 18:01:03 -0100 Subject: [PATCH] prioritize config.php Signed-off-by: Maxence Lange --- lib/Service/ConfigService.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Service/ConfigService.php b/lib/Service/ConfigService.php index 631f74d77..a353ca2fd 100644 --- a/lib/Service/ConfigService.php +++ b/lib/Service/ConfigService.php @@ -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); }