Remove old deprecated getAppFolder

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-07-06 15:33:36 +02:00
parent b2959d7c86
commit 7d128ebf3e
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 0 additions and 26 deletions

View File

@ -1567,23 +1567,6 @@ class Server extends ServerContainer implements IServerContainer {
return $root->getUserFolder($userId);
}
/**
* 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();
$root = $this->getRootFolder();
if (!$root->nodeExists($dir)) {
$folder = $root->newFolder($dir);
} else {
$folder = $root->get($dir);
}
return $folder;
}
/**
* @return \OC\User\Manager
*/

View File

@ -144,15 +144,6 @@ interface IServerContainer extends IContainer {
*/
public function getUserFolder($userId = null);
/**
* Returns an app-specific view in ownClouds data directory
*
* @return \OCP\Files\Folder
* @since 6.0.0
* @deprecated 9.2.0 use IAppData
*/
public function getAppFolder();
/**
* Returns a user manager
*