removing first parameter from WebGUI::Session->open and other cleanups
This commit is contained in:
parent
29df110409
commit
a141de0ebf
39 changed files with 150 additions and 291 deletions
|
|
@ -11,16 +11,10 @@
|
|||
#-------------------------------------------------------------------
|
||||
|
||||
|
||||
our ($webguiRoot);
|
||||
|
||||
BEGIN {
|
||||
$webguiRoot = "..";
|
||||
unshift (@INC, $webguiRoot."/lib");
|
||||
}
|
||||
|
||||
use strict;
|
||||
use Getopt::Long;
|
||||
use Pod::Usage;
|
||||
use strict;
|
||||
use WebGUI::Paths -inc;
|
||||
use WebGUI::Session;
|
||||
|
||||
my $help;
|
||||
|
|
@ -39,7 +33,7 @@ pod2usage( verbose => 2 ) if $help;
|
|||
pod2usage() if $configFile eq "";
|
||||
|
||||
|
||||
my $session = WebGUI::Session->open($webguiRoot,$configFile);
|
||||
my $session = WebGUI::Session->open($configFile);
|
||||
$session->setting->remove('specialState');
|
||||
$session->setting->add('specialState','upgrading') unless $stop;
|
||||
$session->var->end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue