Deprecate old app folder

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2016-09-12 15:40:51 +02:00
parent a961354c62
commit 851769adc8
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -115,6 +115,7 @@ interface IServerContainer {
*
* @return \OCP\Files\Folder
* @since 6.0.0
* @deprecated since 9.2.0 use IAppData
*/
public function getAppFolder();