From f0d5a29e2971794991f2c09b12eb163c795b7791 Mon Sep 17 00:00:00 2001 From: ampli Date: Thu, 30 Jun 2011 02:59:04 +0300 Subject: [PATCH] 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. --- sbin/findBrokenAssets.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/findBrokenAssets.pl b/sbin/findBrokenAssets.pl index 26ad2428b..004637014 100644 --- a/sbin/findBrokenAssets.pl +++ b/sbin/findBrokenAssets.pl @@ -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; }