Diff for /loncom/interface/loncoursedata.pm between versions 1.81.2.1 and 1.81.2.2

version 1.81.2.1, 2003/10/01 21:41:47 version 1.81.2.2, 2003/10/03 15:33:25
Line 872  sub get_student { Line 872  sub get_student {
   
 =pod  =pod
   
   =item &clear_internal_caches()
   
   Causes the internal caches used in get_student_id, get_student,
   get_symb_id, get_symb, get_part_id, and get_part to be undef'd.
   
   Needs to be called before the first operation with the MySQL database
   for a given Apache request.
   
   =cut
   
   ################################################
   ################################################
   sub clear_internal_caches {
       $have_read_part_table = 0;
       undef(%ids_by_part);
       undef(%parts_by_id);
       $have_read_symb_table = 0;
       undef(%ids_by_symb);
       undef(%symbs_by_id);
       $have_read_student_table = 0;
       undef(%ids_by_student);
       undef(%students_by_id);
   }
   
   
   ################################################
   ################################################
   
   =pod
   
 =item &update_student_data()  =item &update_student_data()
   
 Input: $sname, $sdom, $courseid  Input: $sname, $sdom, $courseid

Removed from v.1.81.2.1  
changed lines
  Added in v.1.81.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>