@@ 561-568 (lines=8) @@ | ||
558 | new \OC\Security\CertificateManager($uid, new View(), $c->getConfig()) |
|
559 | ); |
|
560 | }); |
|
561 | $this->registerService('EventLogger', function (Server $c) { |
|
562 | $eventLogger = new EventLogger(); |
|
563 | if ($c->getSystemConfig()->getValue('debug', false)) { |
|
564 | // In debug mode, module is being activated by default |
|
565 | $eventLogger->activate(); |
|
566 | } |
|
567 | return $eventLogger; |
|
568 | }); |
|
569 | $this->registerService('QueryLogger', function (Server $c) { |
|
570 | $queryLogger = new QueryLogger(); |
|
571 | if ($c->getSystemConfig()->getValue('debug', false)) { |
|
@@ 569-576 (lines=8) @@ | ||
566 | } |
|
567 | return $eventLogger; |
|
568 | }); |
|
569 | $this->registerService('QueryLogger', function (Server $c) { |
|
570 | $queryLogger = new QueryLogger(); |
|
571 | if ($c->getSystemConfig()->getValue('debug', false)) { |
|
572 | // In debug mode, module is being activated by default |
|
573 | $queryLogger->activate(); |
|
574 | } |
|
575 | return $queryLogger; |
|
576 | }); |
|
577 | $this->registerService('TempManager', function (Server $c) { |
|
578 | return new TempManager( |
|
579 | $c->getLogger(), |