use splice() in Lemonldap::NG::Portal::Simple::loadModule

This commit is contained in:
Sandro Cazzaniga 2012-09-15 09:50:46 +00:00
parent 6c188ebb5e
commit c7ce994d52
1 changed files with 1 additions and 2 deletions

View File

@ -479,8 +479,7 @@ sub new {
# @param module module name
# @return boolean
sub loadModule {
my $self = shift;
my $module = shift;
my ($self, $module) = splice @_;
return 1 unless $module;