aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Comments
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Comments')
-rw-r--r--lib/private/Comments/ManagerFactory.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/private/Comments/ManagerFactory.php b/lib/private/Comments/ManagerFactory.php
index 44edf32cf9c..a5ac2d65545 100644
--- a/lib/private/Comments/ManagerFactory.php
+++ b/lib/private/Comments/ManagerFactory.php
@@ -56,11 +56,6 @@ class ManagerFactory implements ICommentsManagerFactory {
* @since 9.0.0
*/
public function getManager() {
- return new Manager(
- $this->serverContainer->getDatabaseConnection(),
- $this->serverContainer->get(LoggerInterface::class),
- $this->serverContainer->getConfig(),
- $this->serverContainer->get(IInitialStateService::class)
- );
+ return $this->serverContainer->get(Manager::class);
}
}