about summary refs log tree commit homepage
path: root/lib/PublicInbox/Hval.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Hval.pm')
-rw-r--r--lib/PublicInbox/Hval.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm
index 0e290601..c134e297 100644
--- a/lib/PublicInbox/Hval.pm
+++ b/lib/PublicInbox/Hval.pm
@@ -32,14 +32,6 @@ sub new_msgid {
         $class->new($msgid, mid_escape($msgid));
 }
 
-sub new_oneline {
-        my ($class, $raw) = @_;
-        $raw = '' unless defined $raw;
-        $raw =~ tr/\t\n / /s; # squeeze spaces
-        $raw =~ tr/\r//d; # kill CR
-        $class->new($raw);
-}
-
 # some of these overrides are standard C escapes so they're
 # easy-to-understand when rendered.
 my %escape_sequence = (