findBrokenAssets.pl: redundant argument in WebGUI::Session->open() (#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.
This commit is contained in:
ampli 2011-06-30 02:59:04 +03:00
parent ebbbeb6609
commit f0d5a29e29

View file

@ -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;
}