MDL-50790 inbound: Stop incorrect amount of lines getting removed.
commit8503ae75585594f1879bfae92f4afb35d04db6d4
authorCameron Ball <cameron@moodle.com>
Mon, 21 Sep 2015 05:01:02 +0000 (21 13:01 +0800)
committerCameron Ball <cameron@moodle.com>
Mon, 21 Sep 2015 06:27:51 +0000 (21 14:27 +0800)
treeb22f048ea9c08c963ba7470eae1118002237bd64
parent50ee86edc8697b57a5df5a0d57d6f0090f0332e0
MDL-50790 inbound: Stop incorrect amount of lines getting removed.

Too many lines were being removed for GMail senders. The function was
also removed because it is no longer used, and guessing the client
and cutting accordingly is a poor approach and will probably lead
to issues similar to this one.
lib/classes/message/inbound/handler.php
lib/tests/messageinbound_test.php