diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-19 19:30:12 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-19 19:30:12 +0200 |
commit | 4a7e0561caebd470fbaaf88655619930260a573e (patch) | |
tree | df8451dc9126c574144b4f907840899d16c62fca /lib/private/appframework | |
parent | 0fe4db099265c7e7a9f4be2c98bb3d9329670286 (diff) | |
download | nextcloud-server-4a7e0561caebd470fbaaf88655619930260a573e.tar.gz nextcloud-server-4a7e0561caebd470fbaaf88655619930260a573e.zip |
move db into iservercontainer
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) { |