From 8f37f471c1e8455f4e2e2613fbb2c608e88e0e66 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 15 May 2025 17:11:10 +0200 Subject: [PATCH] chore(developer): document removal of the deprecated Account visibility constants * for https://github.com/nextcloud/server/pull/52544 Signed-off-by: Ferdinand Thiessen --- .../app_upgrade_guide/upgrade_to_32.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst index 11dcf3fd3..19f065e6f 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst @@ -61,3 +61,6 @@ Removed APIs - ``\OCP\Files::getStorage`` and the legacy ``OC_App_::getStorage`` methods were deprecated since Nextcloud 14, respective Nextcloud 5, and were now removed. Instead use ``\OCP\Files\IAppData``. - ``\OCP\AppFramework\App::registerRoutes`` (deprecated in Nextcloud 20) was removed. Instead return the routes as an array from your routes.php or use route attributes. +- The legacy visibility constants of ``OCP\Accounts\IAccountManager``, + ``VISIBILITY_PRIVATE``, ``VISIBILITY_CONTACTS_ONLY``, ``VISIBILITY_PUBLIC``, were deprecated since Nextcloud 21 and are now removed. + Instead only the v2 visibility constants can be used.