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
This commit is contained in:
Ask Bjørn Hansen 2003-06-10 10:15:42 +00:00
parent 1eafaba4e9
commit 8c52b83ab2

View File

@ -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<RSET>, so you probably
want to use the notes field in the C<Qpsmtpd::Connection> object instead.
=head2 add_header_line( $data )
This function appears to be unused. See C<header()> instead.
Note though that these notes will be lost when a transaction ends, for
example on a C<RSET> or after C<DATA> completes, so you might want to
use the notes field in the C<Qpsmtpd::Connection> object instead.
=head2 body_write( $data )