Index: openacs-4/packages/acs-tcl/tcl/community-core-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/community-core-procs.tcl,v diff -u -r1.12.2.2 -r1.12.2.3 --- openacs-4/packages/acs-tcl/tcl/community-core-procs.tcl 7 Mar 2003 15:35:03 -0000 1.12.2.2 +++ openacs-4/packages/acs-tcl/tcl/community-core-procs.tcl 7 Mar 2003 15:53:34 -0000 1.12.2.3 @@ -184,6 +184,14 @@ return [util_memoize [list person::name_not_cached -person_id $person_id]] } + ad_proc -public name_flush { + {-person_id:required} + } { + Flush the person::name cache. + } { + util_memoize_flush [list person::name_not_cached -person_id $person_id] + } + ad_proc -public name_not_cached { {-person_id:required} } { @@ -201,6 +209,7 @@ update the name of a person } { db_dml update_person {} + name_flush -person_id $person_id } }