[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm
banghart
lon-capa-cvs@mail.lon-capa.org
Thu, 28 Sep 2006 23:37:58 -0000
banghart Thu Sep 28 19:37:58 2006 EDT
Modified files:
/loncom/interface lonmeta.pm
Log:
Confirming course no longer wipes out added metadata.
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.178 loncom/interface/lonmeta.pm:1.179
--- loncom/interface/lonmeta.pm:1.178 Mon Sep 25 15:24:49 2006
+++ loncom/interface/lonmeta.pm Thu Sep 28 19:37:57 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.178 2006/09/25 19:24:49 raeburn Exp $
+# $Id: lonmeta.pm,v 1.179 2006/09/28 23:37:57 banghart Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1195,7 +1195,6 @@
'notes','lowestgradelevel',
'highestgradelevel','standards');
$added_metadata_fields = &Apache::lonparmset::get_added_meta_fieldnames();
-
$env{$Apache::lonpublisher::metadatafields{'courserestricted'}.'.metadata.fieldlist'} = join (",",@fields);
}
} else {
@@ -1240,8 +1239,6 @@
}
foreach my $field_name(keys (%$added_metadata_fields)) {
push (@fields,$field_name);
- $Apache::lonpublisher::metadatafields{$field_name} =
- $$added_metadata_fields{$field_name};
$lt{$field_name} = $$added_metadata_fields{$field_name};
}
foreach my $field_name (@fields) {