From 139a5e1e8936d0bca1f648e3382229b3eee09b55 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 28 Mar 2006 18:14:59 +0000 Subject: remove unused $gr variable whose sole purpose was to crash the wizard when steping back on account creation step --- mdkonline | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mdkonline') diff --git a/mdkonline b/mdkonline index e4985ba3..b6b9cfce 100755 --- a/mdkonline +++ b/mdkonline @@ -43,7 +43,7 @@ my $confdir = '/root/.MdkOnline'; my $conffile = "$confdir/mdkupdate"; my $logfile = '/var/tmp/mdkonline.log'; -my ($greeting, $firstname, $lastname, $login, $account, $password, $npassword, $boxname, $cfmpassword, $email, $country, $ia, $gr, $alias); +my ($greeting, $firstname, $lastname, $login, $account, $password, $npassword, $boxname, $cfmpassword, $email, $country, $ia, $alias); my @info; @@ -162,7 +162,6 @@ my $wiz = ]; }, complete => sub { - $gr = find_index { /$gr/ } @greets; $alias = $firstname . $lastname; @info = ($account, $npassword, $firstname, $lastname, $lang, $greeting, $alias, 'home'); if ($npassword ne $cfmpassword) { @@ -225,5 +224,5 @@ if (!$ia && $login && $password && $boxname) { output_p($logfile, N("Cannot connect to Mandriva Online website: wrong login/password or router/firewall bad settings")); } } else { - !$::testing && mdkonline::get_release <= 2006.0 ? wizards->new->safe_process($wiz, $in) : wizards->new($wiz)->safe_process($in); + !$::testing && mdkonline::get_release <= 2005.0 ? wizards->new->safe_process($wiz, $in) : wizards->new($wiz)->safe_process($in); } -- cgit v1.2.1