[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 18 Feb 2003 23:13:54 -0000


albertel		Tue Feb 18 18:13:54 2003 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  - don't need to use lonhomework here, doesn't use it directly, and causes an use circle
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.110 loncom/publisher/lonpublisher.pm:1.111
--- loncom/publisher/lonpublisher.pm:1.110	Tue Feb 18 11:29:37 2003
+++ loncom/publisher/lonpublisher.pm	Tue Feb 18 18:13:54 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.110 2003/02/18 16:29:37 www Exp $
+# $Id: lonpublisher.pm,v 1.111 2003/02/18 23:13:54 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -117,7 +117,6 @@
 use Apache::Constants qw(:common :http :methods);
 use HTML::LCParser;
 use Apache::lonxml;
-use Apache::lonhomework;
 use Apache::loncacc;
 use DBI;
 use Apache::lonnet();
@@ -949,7 +948,9 @@
         my $oldenv=$ENV{'request.uri'};
 
         $ENV{'request.uri'}=$target;
+	$Apache::lonxml::debug=1;
         $allmeta=Apache::lonxml::xmlparse(undef,'meta',$content);
+	$Apache::lonxml::debug=0;
         $ENV{'request.uri'}=$oldenv;
 
         &metaeval($allmeta);