summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-03-17 13:26:05 +0000
committerfukachan <fukachan>2003-03-17 13:26:05 +0000
commit16deda036fc019c14fb6591d435e88ff99b189de (patch)
treeddb96d5ea1efc8b58a1199199343f66c9e00f6b6
parentd04f6db883cf808f57095057cb8fe08ac2b303b6 (diff)
downloadfml8-16deda036fc019c14fb6591d435e88ff99b189de.tar.gz
fml8-16deda036fc019c14fb6591d435e88ff99b189de.tar.bz2
fml8-16deda036fc019c14fb6591d435e88ff99b189de.zip
get_address_list() uses get_user_list() in FML::Command::UserControl.
-rw-r--r--fml/lib/FML/Process/Utils.pm21
1 files changed, 4 insertions, 17 deletions
diff --git a/fml/lib/FML/Process/Utils.pm b/fml/lib/FML/Process/Utils.pm
index 3d6eba7b..66c3adcb 100644
--- a/fml/lib/FML/Process/Utils.pm
+++ b/fml/lib/FML/Process/Utils.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: Utils.pm,v 1.63 2003/03/14 03:49:09 fukachan Exp $
+# $FML: Utils.pm,v 1.64 2003/03/16 10:52:09 fukachan Exp $
#
package FML::Process::Utils;
@@ -1057,23 +1057,10 @@ sub get_address_list
my $config = $curproc->{ config };
my $list = $config->get_as_array_ref( $map );
- eval q{ use IO::Adapter;};
+ eval q{ use FML::Command::UserControl;};
unless ($@) {
- my $r = [];
-
- for my $map (@$list) {
- my $io = new IO::Adapter $map, $config;
- my $key = '';
- if (defined $io) {
- $io->open();
- while (defined($key = $io->get_next_key())) {
- push(@$r, $key);
- }
- $io->close();
- }
- }
-
- return $r;
+ my $obj = new FML::Command::UserControl;
+ return $obj->get_user_list($curproc, $list);
}
return [];