Index: openacs-4/packages/dotlrn-glossar/dotlrn-glossar.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-glossar/dotlrn-glossar.info,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn-glossar/dotlrn-glossar.info 20 Aug 2005 09:38:45 -0000 1.1 +++ openacs-4/packages/dotlrn-glossar/dotlrn-glossar.info 23 Aug 2005 19:36:35 -0000 1.2 @@ -7,18 +7,19 @@ f f - + Bjoern Kiesbye Malte Sussdorff Intigrates the Glossar Portlet into dotLRN. Cognovis Intigrates the Glossar Portlet into dotLRN. 0 - + + Index: openacs-4/packages/dotlrn-glossar/tcl/dotlrn-glossar-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-glossar/tcl/dotlrn-glossar-procs.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn-glossar/tcl/dotlrn-glossar-procs.tcl 20 Aug 2005 09:38:45 -0000 1.1 +++ openacs-4/packages/dotlrn-glossar/tcl/dotlrn-glossar-procs.tcl 23 Aug 2005 19:36:36 -0000 1.2 @@ -253,3 +253,29 @@ } + +ad_proc -private dotlrn_glossar::upgrade { + {-from_version_name:required } + {-to_version_name:required } +} { + Procedures to upgrade dotlrn-glossar + + @author Miguel Marin (miguelmarin@viaro.net) + @author Viaro Networks www.viaro.net +} { + apm_upgrade_logic \ + -from_version_name $from_version_name \ + -to_version_name $to_version_name \ + -spec { + 0.1d 0.1d1 { + # We are going to add the portlet of dotlrn-glossar to the + # templates + + db_foreach get_portal_templates { } { + glossar_portlet::add_self_to_page \ + -portal_id $portal_id \ + -package_id 0 + } + } + } +} \ No newline at end of file