[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 11 Apr 2002 17:37:13 -0000
albertel Thu Apr 11 13:37:13 2002 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- instead of doing this, lonnet::metadata will create fictional Part 0 keys on the fly for problems with multiple parts.
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.89 loncom/homework/structuretags.pm:1.90
--- loncom/homework/structuretags.pm:1.89 Wed Apr 10 15:58:19 2002
+++ loncom/homework/structuretags.pm Thu Apr 11 13:37:13 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.89 2002/04/10 19:58:19 albertel Exp $
+# $Id: structuretags.pm,v 1.90 2002/04/11 17:37:13 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -338,13 +338,6 @@
} elsif ($target eq 'meta') {
if ($Apache::inputtags::part eq '0') {
$result=&Apache::response::mandatory_part_meta;
- } else {
- # there were intervening parts need to set the global temporarily
- # and only need the package reference
- my $temp=$Apache::inputtags::part;
- $Apache::inputtags::part=0;
- $result=&Apache::response::meta_package_write('part');
- $Apache::inputtags::part=$temp;
}
} elsif ($target eq 'edit') {
&Apache::lonxml::debug("in end_problem with $target, edit");