[LON-CAPA-cvs] cvs: rat / lonuserstate.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 17 Jun 2002 16:40:24 -0000
www Mon Jun 17 12:40:24 2002 EDT
Modified files:
/rat lonuserstate.pm
Log:
Toward bug 305
Now reads mapalias parameters into bighash, e.g., mapalias_fred=4.2
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.27 rat/lonuserstate.pm:1.28
--- rat/lonuserstate.pm:1.27 Wed Jun 5 08:52:05 2002
+++ rat/lonuserstate.pm Mon Jun 17 12:40:24 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construct and maintain state and binary representation of course for user
#
-# $Id: lonuserstate.pm,v 1.27 2002/06/05 12:52:05 www Exp $
+# $Id: lonuserstate.pm,v 1.28 2002/06/17 16:40:24 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -233,7 +233,9 @@
} else {
$hash{'param_'.$referid}=''.$newparam;
}
-
+ if ($token->[2]->{'name'} eq 'mapalias') {
+ $hash{'mapalias_'.$token->[2]->{'value'}}=$referid;
+ }
}
}