From d365166dc05f1562503eb68900c227e6a64c964f Mon Sep 17 00:00:00 2001 From: Joel Uckelman Date: Sun, 18 Mar 2012 01:59:16 +0100 Subject: Moved list footer stripping to strip_list_footer(). --- src/build_post.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/build_post.php') diff --git a/src/build_post.php b/src/build_post.php index d889b92..d6d23a7 100644 --- a/src/build_post.php +++ b/src/build_post.php @@ -25,4 +25,8 @@ function build_post_subject($listtag, $forumtag, $subject, $reply) { return $subject; } +function strip_list_footer($message, $fpattern) { + return preg_replace($fpattern, '', $message); +} + ?> -- cgit v1.2.3