diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-01 10:40:11 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-02 19:20:37 +0100 |
commit | b2501dbf9a6e76d794fdaad9b18a7e638e9650ca (patch) | |
tree | 61b43eaa21d065b14bb1eab647994f54323e7326 /lib/private | |
parent | 61adb513fe6578c3b5bcd467bc7be16bd97afa96 (diff) | |
download | nextcloud-server-b2501dbf9a6e76d794fdaad9b18a7e638e9650ca.tar.gz nextcloud-server-b2501dbf9a6e76d794fdaad9b18a7e638e9650ca.zip |
TimeFactory is already regsitsered in the Server Container
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/AppFramework/DependencyInjection/DIContainer.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index bbc106965b8..f865bd123bf 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -125,9 +125,6 @@ class DIContainer extends SimpleContainer implements IAppContainer { return new OC\AppFramework\Logger($this->server->query(ILogger::class), $c->query('AppName')); }); - $this->registerAlias(\OCP\AppFramework\Utility\ITimeFactory::class, \OC\AppFramework\Utility\TimeFactory::class); - $this->registerAlias('TimeFactory', \OCP\AppFramework\Utility\ITimeFactory::class); - $this->registerAlias(\OC\User\Session::class, \OCP\IUserSession::class); $this->registerService(IServerContainer::class, function ($c) { |