Update class.discussionmodel.php

Check for permissions when notifying of new discussions
Partly fixing https://github.com/vanillaforums/Garden/issues/1518
Merge pull request #1740 from R-J/patch-13

Check permissions in NotifyNewDiscussion