summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command/Admin
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-05-02 00:56:48 +0000
committerfukachan <fukachan>2004-05-02 00:56:48 +0000
commitcc7a01b76feba8867e7d3da640c1a8181e7ef01f (patch)
tree29b04c4e610246c01968580a8649433a655c88ef /fml/lib/FML/Command/Admin
parent6d45336507935029574b73991f6452e7437b05b6 (diff)
downloadfml8-cc7a01b76feba8867e7d3da640c1a8181e7ef01f.tar.gz
fml8-cc7a01b76feba8867e7d3da640c1a8181e7ef01f.tar.bz2
fml8-cc7a01b76feba8867e7d3da640c1a8181e7ef01f.zip
implemented for convenience
Diffstat (limited to 'fml/lib/FML/Command/Admin')
-rw-r--r--fml/lib/FML/Command/Admin/admindel.pm69
-rw-r--r--fml/lib/FML/Command/Admin/moderatoradd.pm65
-rw-r--r--fml/lib/FML/Command/Admin/moderatordel.pm69
3 files changed, 203 insertions, 0 deletions
diff --git a/fml/lib/FML/Command/Admin/admindel.pm b/fml/lib/FML/Command/Admin/admindel.pm
new file mode 100644
index 00000000..80c27dd2
--- /dev/null
+++ b/fml/lib/FML/Command/Admin/admindel.pm
@@ -0,0 +1,69 @@
+#-*- perl -*-
+#
+# Copyright (C) 2004 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: admindel.pm,v 1.13 2003/12/31 03:49:16 fukachan Exp $
+#
+
+package FML::Command::Admin::admindel;
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use Carp;
+
+use FML::Command::Admin::deladmin;
+@ISA = qw(FML::Command::Admin::deladmin);
+
+
+# Descriptions: remove the specified remote administorator.
+# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
+# Side Effects: forward request to deladmin module
+# Return Value: none
+sub process
+{
+ my ($self, $curproc, $command_args) = @_;
+ $self->SUPER::process($curproc, $command_args);
+}
+
+
+=head1 NAME
+
+FML::Command::Admin::admindel - remove the specified remote administrator
+
+=head1 SYNOPSIS
+
+See C<FML::Command> for more details.
+
+=head1 DESCRIPTION
+
+remove the specified administrator.
+
+=head1 METHODS
+
+=head2 process($curproc, $command_args)
+
+=head1 CODING STYLE
+
+See C<http://www.fml.org/software/FNF/> on fml coding style guide.
+
+=head1 AUTHOR
+
+Ken'ichi Fukamachi
+
+=head1 COPYRIGHT
+
+Copyright (C) 2004 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::admindel first appeared in fml8 mailing list driver package.
+See C<http://www.fml.org/> for more details.
+
+=cut
+
+
+1;
diff --git a/fml/lib/FML/Command/Admin/moderatoradd.pm b/fml/lib/FML/Command/Admin/moderatoradd.pm
new file mode 100644
index 00000000..dd81767e
--- /dev/null
+++ b/fml/lib/FML/Command/Admin/moderatoradd.pm
@@ -0,0 +1,65 @@
+#-*- perl -*-
+#
+# Copyright (C) 2002,2003 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: moderatoradd.pm,v 1.5 2003/12/31 04:08:44 fukachan Exp $
+#
+
+package FML::Command::Admin::moderatoradd;
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use Carp;
+
+
+use FML::Command::Admin::addmoderator;
+@ISA = qw(FML::Command::Admin::addmoderator);
+
+
+# Descriptions: add a moderator
+# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
+# Side Effects: forward request to subscribe module
+# Return Value: none
+sub process
+{
+ my ($self, $curproc, $command_args) = @_;
+ $self->SUPER::process($curproc, $command_args);
+}
+
+=head1 NAME
+
+FML::Command::Admin::moderatoradd - add a moderator
+
+=head1 SYNOPSIS
+
+See C<FML::Command> for more details.
+
+=head1 DESCRIPTION
+
+an alias of C<FML::Command::Admin::addmoderator>.
+
+=head1 CODING STYLE
+
+See C<http://www.fml.org/software/FNF/> on fml coding style guide.
+
+=head1 AUTHOR
+
+Ken'ichi Fukamachi
+
+=head1 COPYRIGHT
+
+Copyright (C) 2002,2003 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::moderatoradd first appeared in fml8 mailing list driver package.
+See C<http://www.fml.org/> for more details.
+
+=cut
+
+
+1;
diff --git a/fml/lib/FML/Command/Admin/moderatordel.pm b/fml/lib/FML/Command/Admin/moderatordel.pm
new file mode 100644
index 00000000..6278c1c2
--- /dev/null
+++ b/fml/lib/FML/Command/Admin/moderatordel.pm
@@ -0,0 +1,69 @@
+#-*- perl -*-
+#
+# Copyright (C) 2004 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: moderatordel.pm,v 1.13 2003/12/31 03:49:16 fukachan Exp $
+#
+
+package FML::Command::Admin::moderatordel;
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use Carp;
+
+use FML::Command::Admin::delmoderator;
+@ISA = qw(FML::Command::Admin::delmoderator);
+
+
+# Descriptions: remove the specified remote moderatoristorator.
+# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
+# Side Effects: forward request to delmoderator module
+# Return Value: none
+sub process
+{
+ my ($self, $curproc, $command_args) = @_;
+ $self->SUPER::process($curproc, $command_args);
+}
+
+
+=head1 NAME
+
+FML::Command::Admin::moderatordel - remove the specified moderator
+
+=head1 SYNOPSIS
+
+See C<FML::Command> for more details.
+
+=head1 DESCRIPTION
+
+remove the specified moderatoristrator.
+
+=head1 METHODS
+
+=head2 process($curproc, $command_args)
+
+=head1 CODING STYLE
+
+See C<http://www.fml.org/software/FNF/> on fml coding style guide.
+
+=head1 AUTHOR
+
+Ken'ichi Fukamachi
+
+=head1 COPYRIGHT
+
+Copyright (C) 2004 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::moderatordel first appeared in fml8 mailing list driver package.
+See C<http://www.fml.org/> for more details.
+
+=cut
+
+
+1;