diff options
author | Joas Schilling <coding@schilljs.com> | 2020-09-25 14:47:14 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-09-25 14:55:53 +0200 |
commit | 3212c074b95b7526767c33138dfa580790765aef (patch) | |
tree | cce9890e93c2fe492f8a7aeecccb13f3d78265bc /lib/private/AppFramework/DependencyInjection | |
parent | 02e037174e4bb1f5f6e80bcd37e3069b7125bf09 (diff) | |
download | nextcloud-server-3212c074b95b7526767c33138dfa580790765aef.tar.gz nextcloud-server-3212c074b95b7526767c33138dfa580790765aef.zip |
Log the number of queries built and executed
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/AppFramework/DependencyInjection')
-rw-r--r-- | lib/private/AppFramework/DependencyInjection/DIContainer.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index 875597a1fba..3ef816f503e 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -61,6 +61,7 @@ use OCP\Files\Folder; use OCP\Files\IAppData; use OCP\Group\ISubAdmin; use OCP\IConfig; +use OCP\IDBConnection; use OCP\IInitialStateService; use OCP\IL10N; use OCP\ILogger; @@ -180,7 +181,10 @@ class DIContainer extends SimpleContainer implements IAppContainer { $c->get('Protocol'), $c->get(MiddlewareDispatcher::class), $c->get(IControllerMethodReflector::class), - $c->get(IRequest::class) + $c->get(IRequest::class), + $c->get(IConfig::class), + $c->get(IDBConnection::class), + $c->get(LoggerInterface::class) ); }); |