From 8c52b83ab2ebfcd1c67c469c0727fc34f6c43873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Tue, 10 Jun 2003 10:15:42 +0000 Subject: [PATCH] nuke the unused and incorrect add_header_line method clarify when notes gets reset git-svn-id: https://svn.perl.org/qpsmtpd/trunk@152 958fd67b-6ff1-0310-b445-bb7760255be9 --- lib/Qpsmtpd/Transaction.pm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/lib/Qpsmtpd/Transaction.pm b/lib/Qpsmtpd/Transaction.pm index e63f227..48440bf 100644 --- a/lib/Qpsmtpd/Transaction.pm +++ b/lib/Qpsmtpd/Transaction.pm @@ -59,10 +59,6 @@ sub notes { $self->{_notes}->{$key}; } -sub add_header_line { - my $self = shift; - $self->{_header} .= shift; -} sub body_write { my $self = shift; @@ -190,12 +186,9 @@ Get or set a note on the transaction. This is a piece of data that you wish to attach to the transaction and read somewhere else. For example you can use this to pass data between plugins. -Note though that these notes will be lost on a C, so you probably -want to use the notes field in the C object instead. - -=head2 add_header_line( $data ) - -This function appears to be unused. See C instead. +Note though that these notes will be lost when a transaction ends, for +example on a C or after C completes, so you might want to +use the notes field in the C object instead. =head2 body_write( $data )