Skip to content

Commit

Permalink
Item12952: Useless call to findPackages
Browse files Browse the repository at this point in the history
Searched, but results never used.
  • Loading branch information
gac410 committed Sep 22, 2014
1 parent b7e84f9 commit c73dfa4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/lib/Foswiki/Configure/Wizard.pm
Expand Up @@ -48,8 +48,7 @@ sub loadWizard {

ASSERT( $name =~ /^[A-Za-z][A-Za-z0-9]+$/ ) if DEBUG;

my $class = 'Foswiki::Configure::Wizards::' . $name;
my @packages = Foswiki::Configure::FileUtil::findPackages($class);
my $class = 'Foswiki::Configure::Wizards::' . $name;

eval "require $class";
die "Failed to load wizard $class: $@" if $@;
Expand Down

0 comments on commit c73dfa4

Please sign in to comment.