From 7d128ebf3e61224469ae501086ca984d43284245 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 6 Jul 2020 15:33:36 +0200 Subject: [PATCH] Remove old deprecated getAppFolder Signed-off-by: Roeland Jago Douma --- lib/private/Server.php | 17 ----------------- lib/public/IServerContainer.php | 9 --------- 2 files changed, 26 deletions(-) diff --git a/lib/private/Server.php b/lib/private/Server.php index ba628d1269f..eff190176b1 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.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 */ diff --git a/lib/public/IServerContainer.php b/lib/public/IServerContainer.php index f5a644bee04..6d698e423e7 100644 --- a/lib/public/IServerContainer.php +++ b/lib/public/IServerContainer.php @@ -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 *