summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-02-24 17:15:21 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-25 22:21:24 +0100
commit4e29a4d867e8fca0d2c41c00b4c2b23b32d6f6af (patch)
treec54c202d4887c35ac9ecc783c10ebf76c3f42b49 /lib
parentf993ed823ee17ed07bcfb7e80704561dab712243 (diff)
downloadnextcloud-server-4e29a4d867e8fca0d2c41c00b4c2b23b32d6f6af.tar.gz
nextcloud-server-4e29a4d867e8fca0d2c41c00b4c2b23b32d6f6af.zip
deprecate getters for deprecated class
Diffstat (limited to 'lib')
-rw-r--r--lib/private/server.php2
-rw-r--r--lib/public/iservercontainer.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index f6fa5387e49..a1e99274c7f 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -655,7 +655,7 @@ class Server extends SimpleContainer implements IServerContainer {
/**
* Returns an instance of the db facade
- *
+ * @deprecated use getDatabaseConnection, will be removed in ownCloud 10
* @return \OCP\IDb
*/
function getDb() {
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index f2806529a4c..1dbabb3452a 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -144,6 +144,7 @@ interface IServerContainer {
/**
* Returns an instance of the db facade
+ * @deprecated use getDatabaseConnection, will be removed in ownCloud 10
* @return \OCP\IDb
*/
function getDb();
@@ -255,7 +256,7 @@ interface IServerContainer {
* @return \OCP\ICertificateManager
*/
function getCertificateManager($user = null);
-
+
/**
* Create a new event source
*