Git commits in Moodle 2.9.5 by Josh Marshall

commit a9745eb95af649395ee1ff526d65cf53a2407642
Author: Josh Marshall <josh.marshall@netspot.com.au>
Date:   Thu, 29 Oct 2015 13:21:13 +0800
Tag:    v2.9.5

MDL-52930 forum: Correct get_unmailed_posts logic