Skip to content

Commit

Permalink
[openmelody#3 state:resolved] Fixed perl warning: "my" variable `$dir…
Browse files Browse the repository at this point in the history
…` masks earlier declaration in same scope at addons/ConfigAssistant.pack/lib/ConfigAssistant/Static.pm line 172.
  • Loading branch information
jayallen committed Feb 1, 2011
1 parent 0709992 commit d459604
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions addons/ConfigAssistant.pack/lib/ConfigAssistant/Static.pm
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ sub _make_dir {
my $fmgr = MT::FileMgr->new('Local') or return MT::FileMgr->errstr;

my $app = MT->instance;
my $dir
= File::Spec->catfile( $app->static_file_path, 'support', 'plugins',
$dir );
$dir = File::Spec->catfile( $app->static_file_path, 'support', 'plugins', $dir );
if ( $fmgr->mkpath($dir) ) {

# Success!
Expand Down

0 comments on commit d459604

Please sign in to comment.