Merge pull request #10545 from nextcloud/fix/usermanual/oc-app-methods-nextcloud-14

feat(devmanual): Document removed \OC_App methods
This commit is contained in:
Christoph Wurst
2023-06-01 17:14:28 +02:00
committed by GitHub

View File

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