Replace bad variable name
This commit is contained in:
parent
fa0ae39f8a
commit
fe842d59c9
|
@ -18,7 +18,7 @@ sub init($$) {
|
|||
}
|
||||
|
||||
my $tmp = Lemonldap::NG::Common::Conf->new( $args->{configStorage} );
|
||||
unless ( $class->lmConf($tmp) ) {
|
||||
unless ( $class->confAcc($tmp) ) {
|
||||
die( "$class : unable to build configuration: "
|
||||
. "$Lemonldap::NG::Common::Conf::msg" );
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ sub init($$) {
|
|||
# Merge local configuration parameters so that params defined in
|
||||
# startup parameters have precedence over lemonldap-ng.ini params
|
||||
$class->localConfig(
|
||||
{ %{ $class->lmConf->getLocalConf('handler') }, %{$args} } );
|
||||
{ %{ $class->confAcc->getLocalConf('handler') }, %{$args} } );
|
||||
|
||||
$class->checkTime( $class->localConfig->{checkTime} || $class->checkTime );
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ our $VERSION = '2.0.0';
|
|||
# @return true if config is up to date or if reload config succeeded
|
||||
sub checkConf {
|
||||
my ( $class, $force ) = @_;
|
||||
my $conf = $class->lmConf->getConf( { local => !$force } );
|
||||
my $conf = $class->confAcc->getConf( { local => !$force } );
|
||||
|
||||
unless ( ref($conf) ) {
|
||||
$class->lmLog(
|
||||
|
|
|
@ -13,7 +13,7 @@ our $_tshv = {
|
|||
cfgNum => 0,
|
||||
lastCheck => 0,
|
||||
checkTime => 600,
|
||||
lmConf => {},
|
||||
confAcc => {},
|
||||
localConfig => {},
|
||||
logLevel => 'notice',
|
||||
_logLevel => 2,
|
||||
|
@ -35,7 +35,7 @@ our $_v = { session => {}, datas => {} };
|
|||
BEGIN {
|
||||
# Thread shared accessors
|
||||
foreach (
|
||||
qw(tsv cfgNum lastCheck checkTime lmConf localConfig logLevel _logLevel logLevels)
|
||||
qw(tsv cfgNum lastCheck checkTime confAcc localConfig logLevel _logLevel logLevels)
|
||||
)
|
||||
{
|
||||
eval " sub $_ {
|
||||
|
|
Loading…
Reference in New Issue
Block a user