summaryrefslogtreecommitdiff
path: root/src/build_post.php
diff options
context:
space:
mode:
authorJoel Uckelman <uckelman@nomic.net>2012-03-18 01:59:16 +0100
committerJoel Uckelman <uckelman@nomic.net>2012-03-18 01:59:16 +0100
commitd365166dc05f1562503eb68900c227e6a64c964f (patch)
tree290c08987ce3d246792aa18ff0a52f26737b4a11 /src/build_post.php
parent1aaeb20c92cc3650b891ee4bf674eccf402fcd3b (diff)
Moved list footer stripping to strip_list_footer().
Diffstat (limited to 'src/build_post.php')
-rw-r--r--src/build_post.php4
1 files changed, 4 insertions, 0 deletions
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);
+}
+
?>