--- loncom/publisher/lonpublisher.pm 2002/10/18 13:49:49 1.103
+++ loncom/publisher/lonpublisher.pm 2002/10/20 18:39:36 1.105
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpublisher.pm,v 1.103 2002/10/18 13:49:49 www Exp $
+# $Id: lonpublisher.pm,v 1.105 2002/10/20 18:39:36 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -127,13 +127,11 @@ use DBI;
use Apache::lonnet();
use Apache::loncommon();
use Apache::lonmysql;
+use vars qw(%metadatafields %metadatakeys);
my %addid;
my %nokey;
-my %metadatafields;
-my %metadatakeys;
-
my $docroot;
my $cuname;
@@ -262,8 +260,6 @@ sub metaread {
}
#########################################
-
-#########################################
#########################################
sub coursedependencies {
@@ -1698,7 +1694,7 @@ unless ($ENV{'form.phase'} eq 'two') {
if (&Apache::loncommon::fileembstyle($thistype) eq 'ssi') {
$r->print('
Diffs with Current Version
'); + '&versiontwo=priv" target="cat">Diffs with Current Version
'); } # ------------------ Publishing from $thisfn to $thistarget with $thisembstyle.