Show
Ignore:
Timestamp:
09.06.2008 13:36:30 (12 years ago)
Author:
kjdon
Message:

tidied up new method to match other plugins

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/UnknownPlugin.pm

    r15872 r15918  
    104104    push(@$pluginlist, $class); 
    105105 
    106     if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 
    107     if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 
     106    push(@{$hashArgOptLists->{"ArgList"}},@{$arguments}); 
     107    push(@{$hashArgOptLists->{"OptList"}},$options); 
    108108 
    109109    my $self = new BasePlugin($pluginlist, $inputargs, $hashArgOptLists);