Skip to content

Commit

Permalink
findBrokenAssets.pl: redundant argument in WebGUI::Session->open() (#…
Browse files Browse the repository at this point in the history
…12181)

Problem:
Doesn't work, prints an error message:
Couldn't parse JSON in config file '/'

Fix:
WebGUI::Session->open() is called with $webguiRoot as first arguments, and it should not be supplied any more due to an API change.
  • Loading branch information
ampli committed Jun 29, 2011
1 parent ebbbeb6 commit f0d5a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/findBrokenAssets.pl
Expand Up @@ -233,7 +233,7 @@ sub readLines {
sub start {
my $webguiRoot = shift;
my $configFile = shift;
my $session = WebGUI::Session->open( $webguiRoot, $configFile );
my $session = WebGUI::Session->open( $configFile );
$session->user( { userId => 3 } );
return $session;
}
Expand Down

0 comments on commit f0d5a29

Please sign in to comment.