[LON-CAPA-cvs] cvs: rat(version_2_1_X) / lonuserstate.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Fri, 12 May 2006 15:28:50 -0000
matthew Fri May 12 11:28:50 2006 EDT
Modified files: (Branch: version_2_1_X)
/rat lonuserstate.pm
Log:
- keep both the old (unversioned) and new (version) keys
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.107.2.2 rat/lonuserstate.pm:1.107.2.3
--- rat/lonuserstate.pm:1.107.2.2 Thu May 11 19:59:11 2006
+++ rat/lonuserstate.pm Fri May 12 11:28:50 2006
@@ -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.107.2.2 2006/05/11 23:59:11 albertel Exp $
+# $Id: lonuserstate.pm,v 1.107.2.3 2006/05/12 15:28:50 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -597,7 +597,6 @@
} elsif ($key =~ /^(map_(?:start|finish|pc)_)(.*)/) {
my ($type, $url) = ($1,$2);
my $value = $hash{$key};
- delete($hash{$key});
$hash{$type.&putinversion($url)}=$value;
}
}