From 002f0960281f49727aa55130e77a6a42acd909eb Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 31 May 2023 21:34:45 +0200 Subject: [PATCH] feat(devmanual): Document removed \OC_App methods Signed-off-by: Christoph Wurst --- .../app_upgrade_guide/upgrade_to_28.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_28.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_28.rst index 2f05b1d2e..654ca3b38 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_28.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_28.rst @@ -60,5 +60,9 @@ Deprecated APIs Removed APIs ^^^^^^^^^^^^ +* ``\OC_App::getAppVersion``: inject ``\OCP\App\IAppManager`` and call ``\OCP\App\IAppManager::getAppVersion``. +* ``\OC_App::getAppInfo``: inject ``\OCP\App\IAppManager`` and call ``\OCP\App\IAppManager::getAppInfo``. +* ``\OC_App::getNavigation``: inject ``\OCP\App\IAppManager`` and call ``\OCP\App\IAppManager::getAll``. +* ``\OC_App::getSettingsNavigation``: inject ``\OCP\App\IAppManager`` and call ``\OCP\App\IAppManager::getAll('settings')``. * ``\OC_App::isEnabled``: inject ``\OCP\App\IAppManager`` and call ``\OCP\App\IAppManager::isEnabledForUser``. * ``\OC_Defaults::getLogoClaim``: There is no replacement.