I'm stupid : I have to delete Re: not replace it
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Wed, 19 Oct 2005 18:05:07 +0000 (18:05 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 4 Jan 2008 23:34:29 +0000 (00:34 +0100)
git-archimport-id: opensource@polytechnique.org--2005/banana--mainline--1.0--patch-34

.arch-inventory [deleted file]
banana/.arch-inventory [deleted file]
banana/banana.inc.php.in
po/.arch-inventory [deleted file]

diff --git a/.arch-inventory b/.arch-inventory
deleted file mode 100644 (file)
index 9360411..0000000
+++ /dev/null
@@ -1 +0,0 @@
-precious ^(locale|spool)
diff --git a/banana/.arch-inventory b/banana/.arch-inventory
deleted file mode 100644 (file)
index 66526ae..0000000
+++ /dev/null
@@ -1 +0,0 @@
-precious ^banana.inc.php$
index 3b4e5d9..bb8475d 100644 (file)
@@ -218,7 +218,7 @@ class Banana
             $this->nntp->group($group);
             $this->_newPost($id);
             if ($this->post) {
-                $subject = preg_replace("/^re\s*:\s*/i", 'Re: ', 'Re: '.$this->post->headers['subject']);
+                $subject = preg_replace("/^re\s*:\s*/i", '', 'Re: '.$this->post->headers['subject']);
                 $body    = utf8_encode($this->post->name." "._b_("a écrit"))." :\n".wrap($this->post->body, "> ");
                 $target  = isset($this->post->headers['followup-to']) ? $this->post->headers['followup-to'] : $this->post->headers['newsgroups'];
             }
diff --git a/po/.arch-inventory b/po/.arch-inventory
deleted file mode 100644 (file)
index 415ce35..0000000
+++ /dev/null
@@ -1 +0,0 @@
-precious .lang$