diff options
author | Joel Uckelman <uckelman@nomic.net> | 2012-03-18 01:59:16 +0100 |
---|---|---|
committer | Joel Uckelman <uckelman@nomic.net> | 2012-03-18 01:59:16 +0100 |
commit | d365166dc05f1562503eb68900c227e6a64c964f (patch) | |
tree | 290c08987ce3d246792aa18ff0a52f26737b4a11 /src/PhpBB3Impl.php | |
parent | 1aaeb20c92cc3650b891ee4bf674eccf402fcd3b (diff) |
Moved list footer stripping to strip_list_footer().
Diffstat (limited to 'src/PhpBB3Impl.php')
-rw-r--r-- | src/PhpBB3Impl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PhpBB3Impl.php b/src/PhpBB3Impl.php index af1d977..06b0427 100644 --- a/src/PhpBB3Impl.php +++ b/src/PhpBB3Impl.php @@ -212,7 +212,7 @@ class PhpBB3Impl implements PhpBB3 { # FIXME: extract the footer pattern into a config file? # strip the list footer - $message = preg_replace("/^_______________________________________________\\r\\nmessages mailing list\\r\\nmessages@vassalengine.org\\r\\nhttp:\/\/www.vassalengine.org\/mailman\/listinfo\/messages.*/ms", '', $message); + $message = strip_list_footer($message, "/^_______________________________________________\\r\\nmessages mailing list\\r\\nmessages@vassalengine.org\\r\\nhttp:\/\/www.vassalengine.org\/mailman\/listinfo\/messages.*/ms"); # TODO: convert > quoting into BBCode |