diff options
Diffstat (limited to 'lib/private/Comments/ManagerFactory.php')
-rw-r--r-- | lib/private/Comments/ManagerFactory.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Comments/ManagerFactory.php b/lib/private/Comments/ManagerFactory.php index 4888b133143..44edf32cf9c 100644 --- a/lib/private/Comments/ManagerFactory.php +++ b/lib/private/Comments/ManagerFactory.php @@ -27,6 +27,7 @@ namespace OC\Comments; use OCP\Comments\ICommentsManager; use OCP\Comments\ICommentsManagerFactory; +use OCP\IInitialStateService; use OCP\IServerContainer; use Psr\Log\LoggerInterface; @@ -58,7 +59,8 @@ class ManagerFactory implements ICommentsManagerFactory { return new Manager( $this->serverContainer->getDatabaseConnection(), $this->serverContainer->get(LoggerInterface::class), - $this->serverContainer->getConfig() + $this->serverContainer->getConfig(), + $this->serverContainer->get(IInitialStateService::class) ); } } |