MDL-64525 comments: Should not be able to delete frozen comments
authorNeill Magill <neill.magill@nottingham.ac.uk>
Fri, 9 Aug 2019 14:20:16 +0000 (15:20 +0100)
committerNeill Magill <neill.magill@nottingham.ac.uk>
Mon, 24 Aug 2020 06:59:27 +0000 (07:59 +0100)
commit2987182e16dcd6b2df0f03d70c8b21e2739e4324
treed79dacc1d59f9a090e56078673933a4e6cc8b5ec
parent7603ca3080a57d3f7e77582b11d3fc5751bf077c
MDL-64525 comments: Should not be able to delete frozen comments

Before this change in a frozen context a user would be able to delete
their own comments.

After this change a user will only be able to delete their own comments
if they still have the capability to post new comments or the capability
to delete comments from any user.
comment/classes/external.php
comment/comment_ajax.php
comment/lib.php
lang/en/error.php