Index: openacs-4/packages/xowiki/tcl/xowiki-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-callback-procs.tcl,v diff -u -r1.36 -r1.37 --- openacs-4/packages/xowiki/tcl/xowiki-callback-procs.tcl 19 Nov 2007 12:44:00 -0000 1.36 +++ openacs-4/packages/xowiki/tcl/xowiki-callback-procs.tcl 26 Nov 2007 09:14:43 -0000 1.37 @@ -378,6 +378,17 @@ } copy_parameter top_portlet top_includelet } + set v 0.79 + if {[apm_version_names_compare $from_version_name $v] == -1 && + [apm_version_names_compare $to_version_name $v] > -1} { + ns_log notice "-- upgrading to $v" + # load for all xowiki package instances the weblog-portlet prototype page + foreach package_id [::xowiki::Package instances] { + ::xowiki::Package initialize -package_id $package_id -init_url false + $package_id import_prototype_page news-item + } + copy_parameter top_portlet top_includelet + } } proc copy_parameter {from to} {