summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-02-19 13:32:43 +0000
committerfukachan <fukachan>2002-02-19 13:32:43 +0000
commitae62ae81b0699d3f8a0b238fe4cc166fddd57904 (patch)
tree15d6f95fed944d932ad714971b5cda4cd958dd5a
parentfda20604000396d8c88f544a04d9b126b81222b8 (diff)
downloadfml8-ae62ae81b0699d3f8a0b238fe4cc166fddd57904.tar.gz
fml8-ae62ae81b0699d3f8a0b238fe4cc166fddd57904.tar.bz2
fml8-ae62ae81b0699d3f8a0b238fe4cc166fddd57904.zip
remove require_lock()
-rw-r--r--fml/lib/FML/Command.pm28
1 files changed, 1 insertions, 27 deletions
diff --git a/fml/lib/FML/Command.pm b/fml/lib/FML/Command.pm
index a249d672..64be4c0f 100644
--- a/fml/lib/FML/Command.pm
+++ b/fml/lib/FML/Command.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: Command.pm,v 1.19 2002/02/17 03:13:47 fukachan Exp $
+# $FML: Command.pm,v 1.20 2002/02/17 13:35:13 fukachan Exp $
#
package FML::Command;
@@ -119,32 +119,6 @@ sub AUTOLOAD
}
-=head2 C<require_lock($comname)>
-
-specifield C<command> requires lock (giant lock) ?
-return 1 by default (almost all command requires lock).
-
-=cut
-
-
-# Descriptions: we need lock or not
-# Arguments: OBJ($self) STR($mode) STR($comname)
-# Side Effects: none
-# Return Value: 1 / 0 / undef
-sub require_lock
-{
- my ($self, $mode, $comname) = @_;
-
- my $r = $self->get_attribute($mode, $comname, 'require_lock');
-
- if ($0 =~ /loader/) {
- Log("get_attribute($mode, $comname, 'require_lock') = $r");
- }
-
- return $r;
-}
-
-
=head1 AUTHOR
Ken'ichi Fukamachi