diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-24 17:15:21 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-25 22:21:24 +0100 |
commit | 4e29a4d867e8fca0d2c41c00b4c2b23b32d6f6af (patch) | |
tree | c54c202d4887c35ac9ecc783c10ebf76c3f42b49 /lib | |
parent | f993ed823ee17ed07bcfb7e80704561dab712243 (diff) | |
download | nextcloud-server-4e29a4d867e8fca0d2c41c00b4c2b23b32d6f6af.tar.gz nextcloud-server-4e29a4d867e8fca0d2c41c00b4c2b23b32d6f6af.zip |
deprecate getters for deprecated class
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 * |