[LON-CAPA-cvs] cvs: loncom /metadata_database/LONCAPA lonmetadata.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Fri, 15 Jun 2007 23:02:10 -0000


albertel		Fri Jun 15 19:02:10 2007 EDT

  Modified files:              
    /loncom/metadata_database/LONCAPA	lonmetadata.pm 
  Log:
  - include the domain in the port metadata
  
  
Index: loncom/metadata_database/LONCAPA/lonmetadata.pm
diff -u loncom/metadata_database/LONCAPA/lonmetadata.pm:1.21 loncom/metadata_database/LONCAPA/lonmetadata.pm:1.22
--- loncom/metadata_database/LONCAPA/lonmetadata.pm:1.21	Sat May 12 19:24:56 2007
+++ loncom/metadata_database/LONCAPA/lonmetadata.pm	Fri Jun 15 19:02:09 2007
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonmetadata.pm,v 1.21 2007/05/12 23:24:56 albertel Exp $
+# $Id: lonmetadata.pm,v 1.22 2007/06/15 23:02:09 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1000,6 +1000,10 @@
                 }
             }
         } # End of ($token->[0] eq 'S')
+
+	if (!exists($metacache{'domain'})) {
+	    $metacache{'domain'} = $dom;
+	}
     }
     return (\%metacache,$metacache{'courserestricted'},\%addedfields);
 }