Remove old deprecated getAppFolder

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/21714/head
Roeland Jago Douma 4 years ago
parent b2959d7c86
commit 7d128ebf3e
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 17
      lib/private/Server.php
  2. 9
      lib/public/IServerContainer.php

@ -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
*/

@ -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
*

Loading…
Cancel
Save