aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/iservercontainer.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-19 19:30:12 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-19 19:30:12 +0200
commit4a7e0561caebd470fbaaf88655619930260a573e (patch)
treedf8451dc9126c574144b4f907840899d16c62fca /lib/public/iservercontainer.php
parent0fe4db099265c7e7a9f4be2c98bb3d9329670286 (diff)
downloadnextcloud-server-4a7e0561caebd470fbaaf88655619930260a573e.tar.gz
nextcloud-server-4a7e0561caebd470fbaaf88655619930260a573e.zip
move db into iservercontainer
Diffstat (limited to 'lib/public/iservercontainer.php')
-rw-r--r--lib/public/iservercontainer.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index 600d81d83af..22176c36b8a 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -113,6 +113,14 @@ interface IServerContainer {
*/
function getConfig();
+
+ /**
+ * Returns an instance of the db facade
+ * @return \OCP\IDb
+ */
+ function getDb();
+
+
/**
* Returns the app config manager
*