MDL-50790 inbound: Stop incorrect amount of lines getting removed.
authorCameron Ball <cameron@moodle.com>
Mon, 21 Sep 2015 05:01:02 +0000 (13:01 +0800)
committerCameron Ball <cameron@moodle.com>
Mon, 21 Sep 2015 06:25:21 +0000 (14:25 +0800)
commit691a2e1a688f5c901a20e5c3f2b36576f2a146ac
tree53dc1fdb1c7f7ee44d9b3fa1e33ff72acb246571
parentd13dd5bdfde4377e59641e61fd107a194c98cf2d
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