summaryrefslogtreecommitdiffstats
path: root/lib/private/Comments
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-22 10:54:03 +0200
committerJoas Schilling <coding@schilljs.com>2020-10-22 10:54:03 +0200
commit8600e51df5fb4f937eefc7fae3dfc33e84654ff2 (patch)
tree9a0dc8c8cb99cc2e3daf9f26f7d2608868ccca7b /lib/private/Comments
parent2dd50b4adc7b8b7cef653a6fa2fb28cc0cffc4d8 (diff)
downloadnextcloud-server-8600e51df5fb4f937eefc7fae3dfc33e84654ff2.tar.gz
nextcloud-server-8600e51df5fb4f937eefc7fae3dfc33e84654ff2.zip
Fix manager creation and testing
Signed-off-by: Joas Schilling <coding@schilljs.com>
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);
}
}