moodle/comment/upgrade.txt
Paul Holden 648b80c201 MDL-76591 comment: convert existing overview page to system report.
Re-use the entity definitions previously created in fdf2f8f3 for
custom reporting, to create a new system report class.
2023-01-30 15:53:59 +00:00

13 lines
605 B
Plaintext

This files describes API changes in /comment/* ,
information provided here is intended especially for developers.
=== 4.2 ===
* The comment manager `print_comments` method has been deprecated, in favour of new system report class for listing
comment data
=== 3.8 ===
* External function get_comments now returns the total count of comments and the number of comments per page.
It also has a new parameter to indicate the sorting direction (defaulted to DESC).
* The external function core_comment_get_comments now indicates if the current user can post comments in the requested
area.