diff options
author | Joas Schilling <coding@schilljs.com> | 2020-09-23 12:23:06 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-09-23 12:25:08 +0200 |
commit | 6c6d640e396ed03403940a135c51fc78774742c4 (patch) | |
tree | dfa4402a90843052c0063a978771194761d84cc1 /lib/private/Settings | |
parent | 7d0602792280f88af6867db0131d1bf8984b2c2c (diff) | |
download | nextcloud-server-6c6d640e396ed03403940a135c51fc78774742c4.tar.gz nextcloud-server-6c6d640e396ed03403940a135c51fc78774742c4.zip |
Don't log "duplicate section" for the shared "connected-accounts" section
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Settings')
-rw-r--r-- | lib/private/Settings/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index 93291de6bfd..65193e2cac8 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -122,7 +122,7 @@ class Manager implements IManager { $sectionID = $section->getID(); - if (isset($this->sections[$type][$sectionID])) { + if ($sectionID !== 'connected-accounts' && isset($this->sections[$type][$sectionID])) { $this->log->logException(new \InvalidArgumentException('Section with the same ID already registered: ' . $sectionID . ', class: ' . $class), ['level' => ILogger::INFO]); continue; } |