Index: openacs-4/packages/acs-kernel/sql/oracle/apm-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/oracle/apm-create.sql,v
diff -u -N -r1.58.2.3 -r1.58.2.4
--- openacs-4/packages/acs-kernel/sql/oracle/apm-create.sql	15 Aug 2019 10:20:04 -0000	1.58.2.3
+++ openacs-4/packages/acs-kernel/sql/oracle/apm-create.sql	10 Jul 2023 09:29:25 -0000	1.58.2.4
@@ -1019,6 +1019,11 @@
     parameter_name		in apm_parameters.parameter_name%TYPE
   ) return apm_parameter_values.attr_value%TYPE;
 
+  function get_global_value (
+    package_key			in apm_packages.package_key%TYPE,
+    parameter_name		in apm_parameters.parameter_name%TYPE
+  ) return apm_parameter_values.attr_value%TYPE;
+  
   procedure set_value (
     package_id			in apm_packages.package_id%TYPE,
     parameter_name		in apm_parameters.parameter_name%TYPE,
@@ -1734,7 +1739,7 @@
     return value;
   end get_value;	
 
-  procedure set_value (
+  procedure set_global_value (
     package_key			in apm_packages.package_key%TYPE,
     parameter_name		in apm_parameters.parameter_name%TYPE,
     attr_value			in apm_parameter_values.attr_value%TYPE
@@ -1766,7 +1771,18 @@
 
   end set_value;	
 
+  -- legacy function for backwards compatibility
   procedure set_value (
+    package_key			in apm_packages.package_key%TYPE,
+    parameter_name		in apm_parameters.parameter_name%TYPE,
+    attr_value			in apm_parameter_values.attr_value%TYPE
+  ) 
+  is
+  begin
+    apm.set_global_value(package_key, parameter_name, attr_value);
+  end set_value;
+
+  procedure set_value (
     package_id			in apm_packages.package_id%TYPE,
     parameter_name		in apm_parameters.parameter_name%TYPE,
     attr_value			in apm_parameter_values.attr_value%TYPE
