From bda2b77c54a501ed44891bb368da6b23e9ceb07b Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 16 Jun 2024 13:44:09 +0200 Subject: [PATCH] Document comment backend changes --- docs/migration/wsc60/deprecations_removals.md | 2 ++ docs/migration/wsc60/php.md | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/docs/migration/wsc60/deprecations_removals.md b/docs/migration/wsc60/deprecations_removals.md index 94b5b6b7..d52a3ba2 100644 --- a/docs/migration/wsc60/deprecations_removals.md +++ b/docs/migration/wsc60/deprecations_removals.md @@ -34,6 +34,8 @@ With version 6.1, we have deprecated certain components and removed several othe - `wcf\system\comment\manager\ICommentManager::canModerate()` ([WoltLab/WCF#5852](https://github.com/WoltLab/WCF/pull/5852/)) - `wcf\system\box\BoxHandler::createBoxCondition()` ([WoltLab/WCF#5906](https://github.com/WoltLab/WCF/pull/5906)) - `wcf\system\box\BoxHandler::addBoxToPageAssignments()` ([WoltLab/WCF#5906](https://github.com/WoltLab/WCF/pull/5906)) +- Non-standard methods of `wcf\data\comment\CommentAction` ([WoltLab/WCF#5944](https://github.com/WoltLab/WCF/pull/5944)) +- Non-standard methods of `wcf\data\comment\response\CommentResponseAction` ([WoltLab/WCF#5944](https://github.com/WoltLab/WCF/pull/5944)) ### JavaScript diff --git a/docs/migration/wsc60/php.md b/docs/migration/wsc60/php.md index 8ddc0491..37654841 100644 --- a/docs/migration/wsc60/php.md +++ b/docs/migration/wsc60/php.md @@ -96,3 +96,10 @@ The old practice of placing events where they are used is somewhat inconsistent All PSR-14 events now use the new `event` namespace (located under `lib/event`). See the [PSR-14 event documentation](../../php/api/events.md) for details. The changes are backwards compatible, the old namespaces can still be used. + + +## Comment Backend + +The backend of the comment system has been revised and is now based on the new RPC controllers and commands. +The previous backend (the methods of `CommentAction` and `CommentResponseAction`) remains for backward compatibility reasons, but has been deprecated. +If you do not interact directly with the backend, no changes are usually required. [See](https://github.com/WoltLab/WCF/pull/5944) for more details.