[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 11 Jun 2003 14:42:00 -0000


matthew		Wed Jun 11 10:42:00 2003 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  Add call to lonnet::clear_EXT_cache_status to help us get up to date data.
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.55 loncom/interface/statistics/lonstudentassessment.pm:1.56
--- loncom/interface/statistics/lonstudentassessment.pm:1.55	Tue Jun 10 15:19:57 2003
+++ loncom/interface/statistics/lonstudentassessment.pm	Wed Jun 11 10:41:59 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.55 2003/06/10 19:19:57 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.56 2003/06/11 14:41:59 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -178,6 +178,13 @@
     } else {
         @Students = @Apache::lonstatistics::Students;
     }
+    #
+    # Perform generic initialization tasks
+    #       Since we use lonnet::EXT to retrieve problem weights,
+    #       to ensure current data we must clear the caches out.
+    #       This makes sure that parameter changes at the student level
+    #       are immediately reflected in the chart.
+    &Apache::lonnet::clear_EXT_cache_status();
     #
     # Call the initialize routine selected above
     $initialize->($r);