deprecate getters for deprecated class

This commit is contained in:
Bernhard Posselt 2015-02-24 17:15:21 +01:00 committed by Thomas Müller
parent f993ed823e
commit 4e29a4d867
2 changed files with 3 additions and 2 deletions

View File

@ -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() {

View File

@ -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();