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 07:00:36 +0000 (08:00 +0100)
commitba8185cb2aa7dd1fea2bfd01592166ac082e540a
tree4ef76d903f0980ed7d72849ce40e61aaa1977d70
parent362c598d1b2b3c76294912a66eb1daff2543c683
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