When an admin removes a comment (e.g. spam), the admin gets subscribed to the task. This is usually unwanted as the removal action does not imply that the admin is interested in receiving future notifications about the task, in contrast to e.g. adding a comment to a discussion in the task.
Any transaction of a comment (add, edit, remove) is a "core:comment" action. The code calls applyImplicitCC() which calls shouldImplyCC() which returns the bool $xaction->isCommentTransaction(). Expand this bool to $xaction->isCommentTransaction() && !($xaction->getComment()->getIsRemoved()).
Closes T15899