diff options
Diffstat (limited to 'lib/private/appframework')
-rw-r--r-- | lib/private/appframework/db/db.php | 2 | ||||
-rw-r--r-- | lib/private/appframework/dependencyinjection/dicontainer.php | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/lib/private/appframework/db/db.php b/lib/private/appframework/db/db.php index 713b39175c6..fc77a38f814 100644 --- a/lib/private/appframework/db/db.php +++ b/lib/private/appframework/db/db.php @@ -23,7 +23,7 @@ namespace OC\AppFramework\Db; -use \OCP\AppFramework\Db\IDb; +use \OCP\IDb; /** diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php index 0faa507c76e..73d356e9852 100644 --- a/lib/private/appframework/dependencyinjection/dicontainer.php +++ b/lib/private/appframework/dependencyinjection/dicontainer.php @@ -62,13 +62,6 @@ class DIContainer extends SimpleContainer implements IAppContainer{ }); /** - * Database - */ - $this['Db'] = $this->share(function($c){ - return new Db(); - }); - - /** * Http */ $this['Request'] = $this->share(function($c) { |