Skip to content

Commit

Permalink
Replace missing function getOrignalMessageSpliter with getAllMessageS…
Browse files Browse the repository at this point in the history
…pliters in tunderbird email extractor because problem with php7.
  • Loading branch information
AleksandarVucenic committed Jun 29, 2016
1 parent 06b7d28 commit 11a1f04
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ final class ThunderBirdMailExtractor extends Extractor
*/
protected function processLines()
{
$splitters = $this->getOriginalMessageSplitters();
$splitters = $this->getAllMessageSplitters();

if (!empty($splitters)) {
$this->stripOriginalMessage($splitters);
Expand Down Expand Up @@ -37,9 +37,9 @@ protected function processLines()
*
* @return array
*/
protected function getOriginalMessageSplitters()
protected function getAllMessageSplitters()
{
return array_merge(parent::getOriginalMessageSplitters(), [
return array_merge(parent::getAllMessageSplitters(), [
'/\-------------------------/is',
]);
}
Expand Down

0 comments on commit 11a1f04

Please sign in to comment.