[LON-CAPA-cvs] cvs: loncom / loncron
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 22 May 2002 21:41:34 -0000
albertel Wed May 22 17:41:34 2002 EDT
Modified files:
/loncom loncron
Log:
- should not declare globals as my if to be global
(This will make it so the "connections" sections doesn't always say con_lost)
Index: loncom/loncron
diff -u loncom/loncron:1.27 loncom/loncron:1.28
--- loncom/loncron:1.27 Fri May 17 12:19:24 2002
+++ loncom/loncron Wed May 22 17:41:34 2002
@@ -58,7 +58,7 @@
# --------------------------------- Read loncapa_apache.conf and loncapa.conf
my $perlvarref=LONCAPA::Configuration::read_conf('loncapa_apache.conf',
'loncapa.conf');
-my %perlvar=%{$perlvarref};
+%perlvar=%{$perlvarref};
undef $perlvarref;
delete $perlvar{'lonReceipt'}; # remove since sensitive and not needed
delete $perlvar{'lonSqlAccess'}; # remove since sensitive and not needed