[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 29 Oct 2003 18:29:24 -0000


sakharuk		Wed Oct 29 13:29:24 2003 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  Removed last changes.
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.288 loncom/xml/lonxml.pm:1.289
--- loncom/xml/lonxml.pm:1.288	Mon Oct 27 14:00:11 2003
+++ loncom/xml/lonxml.pm	Wed Oct 29 13:29:24 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.288 2003/10/27 19:00:11 sakharuk Exp $
+# $Id: lonxml.pm,v 1.289 2003/10/29 18:29:24 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -845,14 +845,12 @@
 
 sub increment_counter {
     my ($increment) = @_;
-    if ($ENV{'form.freeze_counter'} ne 'yes') {
-	if (defined($increment) && $increment gt 0) {
-	    $Apache::lonxml::counter+=$increment;
-	} else {
-	    $Apache::lonxml::counter++;
-	}
-	$Apache::lonxml::counter_changed=1;
+    if (defined($increment) && $increment gt 0) {
+	$Apache::lonxml::counter+=$increment;
+    } else {
+	$Apache::lonxml::counter++;
     }
+    $Apache::lonxml::counter_changed=1;
 }
 
 sub init_counter {