[LON-CAPA-cvs] cvs: loncom(version_1_0_2) /interface/spreadsheet assesscalc.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 03 Oct 2003 15:39:46 -0000


albertel		Fri Oct  3 11:39:46 2003 EDT

  Modified files:              (Branch: version_1_0_2)
    /loncom/interface/spreadsheet	assesscalc.pm 
  Log:
  - backport 1.25
  
  
Index: loncom/interface/spreadsheet/assesscalc.pm
diff -u loncom/interface/spreadsheet/assesscalc.pm:1.17.2.1 loncom/interface/spreadsheet/assesscalc.pm:1.17.2.2
--- loncom/interface/spreadsheet/assesscalc.pm:1.17.2.1	Mon Sep 22 21:52:57 2003
+++ loncom/interface/spreadsheet/assesscalc.pm	Fri Oct  3 11:39:46 2003
@@ -1,5 +1,5 @@
 #
-# $Id: assesscalc.pm,v 1.17.2.1 2003/09/23 01:52:57 albertel Exp $
+# $Id: assesscalc.pm,v 1.17.2.2 2003/10/03 15:39:46 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -48,6 +48,7 @@
 use Apache::lonnet;
 use Apache::loncommon;
 use Apache::Spreadsheet;
+use Apache::loncoursedata();
 use HTML::Entities();
 use Spreadsheet::WriteExcel;
 use GDBM_File;
@@ -125,6 +126,7 @@
 
 sub initialize {
     &clear_package();
+    &Apache::loncoursedata::clear_internal_caches();
 }
 
 ########################################################
@@ -148,6 +150,7 @@
     }
     &load_cached_export_rows();
     &load_parameter_caches();
+    &Apache::loncoursedata::clear_internal_caches();
 }
 
 ########################################################