MDL-39185 mod_forum: declare new object before creating member variables to prevent Strict Standards warning
Merge branch 'MDL-39185_master' of git://github.com/markn86/moodle into MDL-32898-master