Merge branch 'MDL-30022_message_duplicate' of git://github.com/andyjdavis/moodle