Index: openacs-4/packages/contacts/tcl/contacts-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/tcl/contacts-init.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/contacts/tcl/contacts-init.tcl 28 Jun 2005 22:06:45 -0000 1.10 +++ openacs-4/packages/contacts/tcl/contacts-init.tcl 15 Mar 2006 23:04:53 -0000 1.11 @@ -6,6 +6,17 @@ @creation-date 2004-08-16 } +# This will be run every 5 minutes, so that if other +# packages create objects (such as users creating +# accounts for themselves) content_items and content_revisions +# are automatically create. This is needed for contacts +# searches to work correctly. +ad_schedule_proc -thread t 300 contacts::create_revisions_sweeper +# we also run it once now +contacts::create_revisions_sweeper + + + if {[empty_string_p [info procs callback]]} { ns_log notice "CONTACTS: callback proc didn't exist so we are adding it here"