Index: openacs-4/packages/acs-tcl/tcl/apm-install-procs.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-install-procs.xql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/acs-tcl/tcl/apm-install-procs.xql 28 Aug 2003 09:41:43 -0000 1.5
+++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.xql 19 Jan 2010 22:32:39 -0000 1.6
@@ -88,5 +88,29 @@
where version_id = :version_id
+
+
+
+ select ap.*
+ from apm_parameters ap
+ where package_key = :new_package_key
+ and not exists (select 1
+ from apm_parameters ap2
+ where ap2.parameter_name = ap.parameter_name
+ and ap2.package_key = :descendent_package_key)
+
+
+
+
+
+ select ap.*
+ from apm_parameters ap
+ where package_key = :inherited_package_key
+ and not exists (select 1
+ from apm_parameters ap2
+ where ap2.parameter_name = ap.parameter_name
+ and ap2.package_key = :new_package_key)
+
+