Skip to content
Snippets Groups Projects
Unverified Commit 6c6d640e authored by Joas Schilling's avatar Joas Schilling
Browse files

Don't log "duplicate section" for the shared "connected-accounts" section

parent 7d060279
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ class Manager implements IManager { ...@@ -122,7 +122,7 @@ class Manager implements IManager {
$sectionID = $section->getID(); $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]); $this->log->logException(new \InvalidArgumentException('Section with the same ID already registered: ' . $sectionID . ', class: ' . $class), ['level' => ILogger::INFO]);
continue; continue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment