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 eeecd3c2c12..d59363bb81c 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 @@ -31,7 +31,7 @@ Added APIs * File actions: to register file actions, please use the dedicated API from https://npmjs.org/@nextcloud/files or https://nextcloud-libraries.github.io/nextcloud-files/functions/registerFileAction.html -* New file menu: to register entries in the new file menu, please use the dedicated API from https://npmjs.org/@nextcloud/files or +* New file menu: to register entries in the new file menu, please use the dedicated API from https://npmjs.org/@nextcloud/files or https://nextcloud-libraries.github.io/nextcloud-files/functions/addNewFileMenuEntry.html * Reminder from 27, to interact with the Files app router, use ``OCP.Files.Router``. See :ref:`FilesAPI` * To Interact with the Files app data, please use the following events. All of them have a `Node object `_ as main parameter. @@ -58,7 +58,6 @@ Removed APIs * ``OC.loadScript`` and ``OC.loadStyle``: Use ``OCP.Loader`` instead. * ``OC.appSettings``: There is no replacement. * ``OCA.Files``: Everything removed but Sidebar and Settings. See the Added API section for replacements. -* ``OCA.Comments``: There is no replacement. Back-end changes ---------------- @@ -170,7 +169,6 @@ Removed APIs * ``\OC_Defaults::getLogoClaim``: There is no replacement. * ``\OC::$server->createEventSource()`` has been removed, use ``\OCP\Server::get(\OCP\IEventSourceFactory::class)->create()`` instead. * ``\OCP\Util::writeLog`` has been removed, use ``\OCP\Server::get(LoggerInterface::class)->…`` instead. -* ``\OCP\Comments::load``: there is no replacement. The factory ``\OCP\IEventSourceFactory`` works only from Nextcloud 28. For older versions use ``\OC::$server->createEventSource()``.