[LON-CAPA-cvs] cvs: loncom(version_0_6_1) /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 14 Mar 2003 23:27:19 -0000
albertel Fri Mar 14 18:27:19 2003 EDT
Modified files: (Branch: version_0_6_1)
/loncom/homework structuretags.pm
Log:
- backport of 1.156, clear out globals
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.144 loncom/homework/structuretags.pm:1.144.2.1
--- loncom/homework/structuretags.pm:1.144 Thu Jan 9 14:34:27 2003
+++ loncom/homework/structuretags.pm Fri Mar 14 18:27:19 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.144 2003/01/09 19:34:27 albertel Exp $
+# $Id: structuretags.pm,v 1.144.2.1 2003/03/14 23:27:19 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -252,6 +252,7 @@
$Apache::inputtags::part='0';
@Apache::inputtags::responselist = ();
@Apache::inputtags::previous=();
+ @Apache::inputtags::previous_version=();
if ($target ne 'analyze') {
&initialize_storage();
if ($target eq 'web') {
@@ -661,6 +662,7 @@
$Apache::inputtags::part=$id;
@Apache::inputtags::responselist = ();
@Apache::inputtags::previous=();
+ @Apache::inputtags::previous_version=();
if ($target eq 'meta') {
return &Apache::response::mandatory_part_meta;
} elsif ($target eq 'web' || $target eq 'grade' || $target eq 'answer' || $target eq 'tex') {