vanillaforums/Garden — pull request #1739 by R-J (2013-11-14 15:44:08+00:00)
Title: Update class.commentmodel.php

Check for permissions before notifying users of new comments (e.g. if they've started a discussion in a category they're no longer allowed to see)
Related to https://github.com/vanillaforums/Garden/issues/1518

Also combined "Record user-comment activity" and "Record advanced notifications" in one if clause.