Index: openacs-4/packages/xowiki/tcl/xowiki-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-init.tcl,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/xowiki/tcl/xowiki-init.tcl 14 Aug 2015 17:25:59 -0000 1.1.2.1 @@ -0,0 +1,12 @@ +# +# Check, if we have to update the hkeys in the +# form_instance_item_index. +# +# We do this in an -init file, since at that time, all library files +# are usable. If we would do thisduring loading, we would have +# problems with not-yet loaded library files from other packages. +# +if {[nsv_exists xowiki must_update_hkeys]} { + ::xowiki::hstore::update_update_all_form_instances + nsv_unset xowiki must_update_hkeys +}