diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/server.php | 2 | ||||
-rw-r--r-- | lib/public/iservercontainer.php | 3 |
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 * |