From 851769adc821f0a8462081fe23afb5a4339eb7ad Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 12 Sep 2016 15:40:51 +0200 Subject: Deprecate old app folder Signed-off-by: Roeland Jago Douma --- lib/private/Server.php | 1 + lib/public/IServerContainer.php | 1 + 2 files changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/private/Server.php b/lib/private/Server.php index cd2cce5cb0b..b49e94b554e 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -882,6 +882,7 @@ class Server extends ServerContainer implements IServerContainer { * Returns an app-specific view in ownClouds data directory * * @return \OCP\Files\Folder + * @deprecated since 9.2.0 use IAppData */ public function getAppFolder() { $dir = '/' . \OC_App::getCurrentApp(); diff --git a/lib/public/IServerContainer.php b/lib/public/IServerContainer.php index b736af2899a..354e39bd8f9 100644 --- a/lib/public/IServerContainer.php +++ b/lib/public/IServerContainer.php @@ -115,6 +115,7 @@ interface IServerContainer { * * @return \OCP\Files\Folder * @since 6.0.0 + * @deprecated since 9.2.0 use IAppData */ public function getAppFolder(); -- cgit v1.2.3