diff --git a/lib/private/server.php b/lib/private/server.php index f6fa5387e4903b494c20ac594f883cce5bd5e530..a1e99274c7fb009f422764a9b34f91fbf76842b5 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 f2806529a4c5f61eac88af37b4e4eccf124c7609..1dbabb3452a3e3981d3b751184e3684a5375f452 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 *