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

parent 6c188ebb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment