Index: openacs-4/packages/notifications/tcl/notification-type-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notifications/tcl/notification-type-procs.tcl,v diff -u -N -r1.15 -r1.16 --- openacs-4/packages/notifications/tcl/notification-type-procs.tcl 10 Apr 2018 12:42:06 -0000 1.15 +++ openacs-4/packages/notifications/tcl/notification-type-procs.tcl 11 Apr 2018 10:26:07 -0000 1.16 @@ -78,6 +78,16 @@ db_exec_plsql delete_notification_type {} + # + # TODO: currently, the util_memoize_flush below does nothing + # (we need in these rare cases a restart of the server to get + # rid of the old cache entry - one can get still a + # notification type id from the cache, although it is removed + # from the db). The right thing would be a broadcast operation + # for flushing (similar to xo*) or a blueprint epoch/refetch + # (as under consideration for better live updates on the + # OpenACS wish-list). + # util_memoize_flush [list notification::type::get_type_id_not_cached $short_name] }