Merge pull request #23016 from nextcloud/bugfix/noid/dont-log-a-known-shared-section
Don't log a known shared section
This commit is contained in:
commit
f62e880a6c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue