summaryrefslogtreecommitdiff
path: root/fml/lib/Mail/Delivery
diff options
context:
space:
mode:
authorfukachan <fukachan>2006-02-15 13:52:49 +0000
committerfukachan <fukachan>2006-02-15 13:52:49 +0000
commit64f3686b9b48aba7f6e2a7a33e8316ecba6cb673 (patch)
tree6678202b8dbeeb8352dc28a0632cc3b5a54f6234 /fml/lib/Mail/Delivery
parent63d64253c1b46e019b634954041306749b8c06b9 (diff)
downloadfml8-64f3686b9b48aba7f6e2a7a33e8316ecba6cb673.tar.gz
fml8-64f3686b9b48aba7f6e2a7a33e8316ecba6cb673.tar.bz2
fml8-64f3686b9b48aba7f6e2a7a33e8316ecba6cb673.zip
define delete() as an alias of remove()
Diffstat (limited to 'fml/lib/Mail/Delivery')
-rw-r--r--fml/lib/Mail/Delivery/Queue.pm17
1 files changed, 16 insertions, 1 deletions
diff --git a/fml/lib/Mail/Delivery/Queue.pm b/fml/lib/Mail/Delivery/Queue.pm
index 3474d175..9493de7f 100644
--- a/fml/lib/Mail/Delivery/Queue.pm
+++ b/fml/lib/Mail/Delivery/Queue.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Queue.pm,v 1.55 2005/12/18 11:39:37 fukachan Exp $
+# $FML: Queue.pm,v 1.56 2006/01/09 14:00:55 fukachan Exp $
#
package Mail::Delivery::Queue;
@@ -955,6 +955,10 @@ sub touch
}
+=head2 delete()
+
+remove all queue assigned to this object C<$self>.
+
=head2 remove()
remove all queue assigned to this object C<$self>.
@@ -971,6 +975,17 @@ return 1 (valid) or 0 (broken).
# Arguments: OBJ($self)
# Side Effects: remove queue file(s)
# Return Value: none
+sub delete
+{
+ my ($self) = @_;
+ $self->remove();
+}
+
+
+# Descriptions: remove queue files for this object (queue).
+# Arguments: OBJ($self)
+# Side Effects: remove queue file(s)
+# Return Value: none
sub remove
{
my ($self) = @_;