summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command/User
diff options
context:
space:
mode:
authorfukachan <fukachan>2005-11-30 23:30:38 +0000
committerfukachan <fukachan>2005-11-30 23:30:38 +0000
commitb2ec034ac5748f97a2cbb0e811c355312e31c605 (patch)
tree341b2b814ec6330230f7460db287c79e7ff93f65 /fml/lib/FML/Command/User
parent8739d241ca3947fe11d625d30f752fe3e6552aeb (diff)
downloadfml8-b2ec034ac5748f97a2cbb0e811c355312e31c605.tar.gz
fml8-b2ec034ac5748f97a2cbb0e811c355312e31c605.tar.bz2
fml8-b2ec034ac5748f97a2cbb0e811c355312e31c605.zip
use $curproc->credential();
Diffstat (limited to 'fml/lib/FML/Command/User')
-rw-r--r--fml/lib/FML/Command/User/admin.pm4
-rw-r--r--fml/lib/FML/Command/User/chaddr.pm4
-rw-r--r--fml/lib/FML/Command/User/digest.pm7
-rw-r--r--fml/lib/FML/Command/User/off.pm4
-rw-r--r--fml/lib/FML/Command/User/on.pm4
-rw-r--r--fml/lib/FML/Command/User/subscribe.pm4
-rw-r--r--fml/lib/FML/Command/User/unsubscribe.pm4
7 files changed, 16 insertions, 15 deletions
diff --git a/fml/lib/FML/Command/User/admin.pm b/fml/lib/FML/Command/User/admin.pm
index 584c639f..e9affb4e 100644
--- a/fml/lib/FML/Command/User/admin.pm
+++ b/fml/lib/FML/Command/User/admin.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: admin.pm,v 1.12 2005/05/30 03:28:06 fukachan Exp $
+# $FML: admin.pm,v 1.13 2005/05/30 06:52:23 fukachan Exp $
#
package FML::Command::User::admin;
@@ -153,7 +153,7 @@ sub process
sub _try_admin_auth
{
my ($self, $curproc, $command_args) = @_;
- my $cred = $curproc->{ credential };
+ my $cred = $curproc->credential();
my $sender = $cred->sender();
my $opt_args = { address => $sender };
my $class = $command_args->{ comsubname } || '';
diff --git a/fml/lib/FML/Command/User/chaddr.pm b/fml/lib/FML/Command/User/chaddr.pm
index 1fc4b844..9e21aa8f 100644
--- a/fml/lib/FML/Command/User/chaddr.pm
+++ b/fml/lib/FML/Command/User/chaddr.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: chaddr.pm,v 1.31 2004/06/26 11:47:57 fukachan Exp $
+# $FML: chaddr.pm,v 1.32 2004/06/27 07:56:17 fukachan Exp $
#
package FML::Command::User::chaddr;
@@ -119,7 +119,7 @@ sub process
{
my ($self, $curproc, $command_args) = @_;
my $config = $curproc->config();
- my $cred = $curproc->{ credential };
+ my $cred = $curproc->credential();
# XXX We should always add/rewrite only $primary_*_map maps via
# XXX command mail, CUI and GUI.
diff --git a/fml/lib/FML/Command/User/digest.pm b/fml/lib/FML/Command/User/digest.pm
index 64c1bd2a..2ea5cde4 100644
--- a/fml/lib/FML/Command/User/digest.pm
+++ b/fml/lib/FML/Command/User/digest.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: digest.pm,v 1.13 2004/04/23 04:10:32 fukachan Exp $
+# $FML: digest.pm,v 1.14 2004/06/29 10:02:43 fukachan Exp $
#
package FML::Command::User::digest;
@@ -68,7 +68,7 @@ sub process
{
my ($self, $curproc, $command_args) = @_;
my $config = $curproc->config();
- my $cred = $curproc->{ credential };
+ my $cred = $curproc->credential();
# XXX We should always add/rewrite only $primary_*_map maps via
# XXX command mail, CUI and GUI.
@@ -82,7 +82,8 @@ sub process
my $cache_dir = $config->{ db_dir };
my $keyword = $config->{ confirm_command_prefix };
my $command = $command_args->{ command };
- my $address = $curproc->{ credential }->sender();
+ my $cred = $curproc->credential();
+ my $address = $cred->sender();
my $mode = '';
# fundamental check
diff --git a/fml/lib/FML/Command/User/off.pm b/fml/lib/FML/Command/User/off.pm
index 40c981cb..9102a1c7 100644
--- a/fml/lib/FML/Command/User/off.pm
+++ b/fml/lib/FML/Command/User/off.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: off.pm,v 1.17 2004/04/23 04:10:32 fukachan Exp $
+# $FML: off.pm,v 1.18 2004/06/26 11:47:58 fukachan Exp $
#
package FML::Command::User::off;
@@ -70,7 +70,7 @@ sub process
{
my ($self, $curproc, $command_args) = @_;
my $config = $curproc->config();
- my $cred = $curproc->{ credential };
+ my $cred = $curproc->credential();
# XXX We should always add/rewrite only $primary_*_map maps via
# XXX command mail, CUI and GUI.
diff --git a/fml/lib/FML/Command/User/on.pm b/fml/lib/FML/Command/User/on.pm
index 050ff12f..150692bc 100644
--- a/fml/lib/FML/Command/User/on.pm
+++ b/fml/lib/FML/Command/User/on.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: on.pm,v 1.17 2004/04/23 04:10:32 fukachan Exp $
+# $FML: on.pm,v 1.18 2004/06/26 11:47:58 fukachan Exp $
#
package FML::Command::User::on;
@@ -70,7 +70,7 @@ sub process
{
my ($self, $curproc, $command_args) = @_;
my $config = $curproc->config();
- my $cred = $curproc->{ credential };
+ my $cred = $curproc->credential();
# XXX We should always add/rewrite only $primary_*_map maps via
# XXX command mail, CUI and GUI.
diff --git a/fml/lib/FML/Command/User/subscribe.pm b/fml/lib/FML/Command/User/subscribe.pm
index b049d33f..97921978 100644
--- a/fml/lib/FML/Command/User/subscribe.pm
+++ b/fml/lib/FML/Command/User/subscribe.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: subscribe.pm,v 1.32 2005/05/26 09:57:54 fukachan Exp $
+# $FML: subscribe.pm,v 1.33 2005/08/11 04:07:33 fukachan Exp $
#
package FML::Command::User::subscribe;
@@ -70,7 +70,7 @@ sub process
{
my ($self, $curproc, $command_args) = @_;
my $config = $curproc->config();
- my $cred = $curproc->{ credential };
+ my $cred = $curproc->credential();
# XXX We should always add/rewrite only $primary_*_map maps via
# XXX command mail, CUI and GUI.
diff --git a/fml/lib/FML/Command/User/unsubscribe.pm b/fml/lib/FML/Command/User/unsubscribe.pm
index 8979b059..0d0ba6d7 100644
--- a/fml/lib/FML/Command/User/unsubscribe.pm
+++ b/fml/lib/FML/Command/User/unsubscribe.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: unsubscribe.pm,v 1.33 2005/05/26 09:57:54 fukachan Exp $
+# $FML: unsubscribe.pm,v 1.34 2005/08/11 04:07:33 fukachan Exp $
#
package FML::Command::User::unsubscribe;
@@ -69,7 +69,7 @@ sub process
{
my ($self, $curproc, $command_args) = @_;
my $config = $curproc->config();
- my $cred = $curproc->{ credential };
+ my $cred = $curproc->credential();
# XXX We should always add/rewrite only $primary_*_map maps via
# XXX command mail, CUI and GUI.