MDL-48148 mod_forum: Use the standard forum reply subject as default
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 10 Nov 2014 06:12:52 +0000 (14:12 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 24 Nov 2014 01:10:54 +0000 (09:10 +0800)
commit338ee3d6bbd75ce58fa1810bf344dc80b9abe97c
tree7b71b85231a62b724162005bb93194dff2968be0
parent2611dd99d329b2e8c69bda0e5dfd96cfc51e3a98
MDL-48148 mod_forum: Use the standard forum reply subject as default

When a user replies by e-mail, the course name has been included in the
original e-mail. As a result, the reply subject becomes longer and longer.

In cases whether either:
* the discussion name; or
* the replied-to-post subject

is present in the mail subject, the standard reply subject is instead used.
mod/forum/classes/message/inbound/reply_handler.php