summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-03-19 11:34:37 +0000
committerfukachan <fukachan>2002-03-19 11:34:37 +0000
commit243ca49380368298f5b24b067e192047429afcaa (patch)
tree8ade087235d2eb27737bf880eaccbba647ab1b10
parent304159035b73499e38c571fc8eb84710cc3fee7b (diff)
downloadfml8-243ca49380368298f5b24b067e192047429afcaa.tar.gz
fml8-243ca49380368298f5b24b067e192047429afcaa.tar.bz2
fml8-243ca49380368298f5b24b067e192047429afcaa.zip
enable {add,bye}priv as forwarders to {add,bye}admin
-rw-r--r--fml/lib/FML/Command/Admin/addpriv.pm61
-rw-r--r--fml/lib/FML/Command/Admin/byepriv.pm61
2 files changed, 122 insertions, 0 deletions
diff --git a/fml/lib/FML/Command/Admin/addpriv.pm b/fml/lib/FML/Command/Admin/addpriv.pm
new file mode 100644
index 00000000..9a8bf1f2
--- /dev/null
+++ b/fml/lib/FML/Command/Admin/addpriv.pm
@@ -0,0 +1,61 @@
+#-*- perl -*-
+#
+# Copyright (C) 2002 Ken'ichi Fukamachi
+# All rights reserved. This program is free software; you can
+# redistribute it and/or modify it under the same terms as Perl itself.
+#
+# $FML: add.pm,v 1.5 2002/02/18 14:24:11 fukachan Exp $
+#
+
+package FML::Command::Admin::addpriv;
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use Carp;
+
+
+use FML::Command::Admin::addadmin;
+@ISA = qw(FML::Command::Admin::addadmin);
+
+
+# Descriptions: add a new admin user
+# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
+# Side Effects: forward request to addadmin module
+# Return Value: none
+sub process
+{
+ my ($self, $curproc, $command_args) = @_;
+ $self->SUPER::process($curproc, $command_args);
+}
+
+=head1 NAME
+
+FML::Command::Admin::add - add a new member
+
+=head1 SYNOPSIS
+
+See C<FML::Command> for more details.
+
+=head1 DESCRIPTION
+
+same as C<addadmin>.
+
+=head1 AUTHOR
+
+Ken'ichi Fukamachi
+
+=head1 COPYRIGHT
+
+Copyright (C) 2002 Ken'ichi Fukamachi
+
+All rights reserved. This program is free software; you can
+redistribute it and/or modify it under the same terms as Perl itself.
+
+=head1 HISTORY
+
+FML::Command::Admin::add appeared in fml5 mailing list driver package.
+See C<http://www.fml.org/> for more details.
+
+=cut
+
+
+1;
diff --git a/fml/lib/FML/Command/Admin/byepriv.pm b/fml/lib/FML/Command/Admin/byepriv.pm
new file mode 100644
index 00000000..3c11c3c7
--- /dev/null
+++ b/fml/lib/FML/Command/Admin/byepriv.pm
@@ -0,0 +1,61 @@
+#-*- perl -*-
+#
+# Copyright (C) 2002 Ken'ichi Fukamachi
+# All rights reserved. This program is free software; you can
+# redistribute it and/or modify it under the same terms as Perl itself.
+#
+# $FML: bye.pm,v 1.5 2002/02/18 14:24:11 fukachan Exp $
+#
+
+package FML::Command::Admin::byepriv;
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use Carp;
+
+
+use FML::Command::Admin::byeadmin;
+@ISA = qw(FML::Command::Admin::byeadmin);
+
+
+# Descriptions: bye a new admin user
+# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
+# Side Effects: forward request to byeadmin module
+# Return Value: none
+sub process
+{
+ my ($self, $curproc, $command_args) = @_;
+ $self->SUPER::process($curproc, $command_args);
+}
+
+=head1 NAME
+
+FML::Command::Admin::bye - bye a new member
+
+=head1 SYNOPSIS
+
+See C<FML::Command> for more details.
+
+=head1 DESCRIPTION
+
+same as C<byeadmin>.
+
+=head1 AUTHOR
+
+Ken'ichi Fukamachi
+
+=head1 COPYRIGHT
+
+Copyright (C) 2002 Ken'ichi Fukamachi
+
+All rights reserved. This program is free software; you can
+redistribute it and/or modify it under the same terms as Perl itself.
+
+=head1 HISTORY
+
+FML::Command::Admin::bye appeared in fml5 mailing list driver package.
+See C<http://www.fml.org/> for more details.
+
+=cut
+
+
+1;