deprecate getters for deprecated class
This commit is contained in:
parent
f993ed823e
commit
4e29a4d867
|
@ -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() {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue