mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
deprecate getters for deprecated class
This commit is contained in:
parent
f993ed823e
commit
4e29a4d867
2 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
@ -255,7 +256,7 @@ interface IServerContainer {
|
|||
* @return \OCP\ICertificateManager
|
||||
*/
|
||||
function getCertificateManager($user = null);
|
||||
|
||||
|
||||
/**
|
||||
* Create a new event source
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue