diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-05-07 10:13:06 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-05-07 10:13:06 +0200 |
commit | 163463dea5dbff43c318ee5d4545f29c12c54667 (patch) | |
tree | 59773f563a03972d99717232f6ee498406f816fb /lib/private/AppFramework/DependencyInjection/DIContainer.php | |
parent | e923d7b42f920cf80a9605a75b2414e07aec7263 (diff) | |
download | nextcloud-server-163463dea5dbff43c318ee5d4545f29c12c54667.tar.gz nextcloud-server-163463dea5dbff43c318ee5d4545f29c12c54667.zip |
Add InitialState Appframework service
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppFramework/DependencyInjection/DIContainer.php')
-rw-r--r-- | lib/private/AppFramework/DependencyInjection/DIContainer.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index e0c6571787e..a9d06fac22c 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -53,6 +53,7 @@ use OCP\AppFramework\Http\IOutput; use OCP\AppFramework\IAppContainer; use OCP\AppFramework\QueryException; use OCP\AppFramework\Services\IAppConfig; +use OCP\AppFramework\Services\IInitialState; use OCP\AppFramework\Utility\IControllerMethodReflector; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Files\Folder; @@ -296,6 +297,7 @@ class DIContainer extends SimpleContainer implements IAppContainer { $this->registerAlias(\OCP\Collaboration\Resources\IManager::class, OC\Collaboration\Resources\Manager::class); $this->registerAlias(IAppConfig::class, OC\AppFramework\Services\AppConfig::class); + $this->registerAlias(IInitialState::class, OC\AppFramework\Services\InitialState::class); } /** |