-- Remove the legacy one-argument registration for the two-argument
-- URL copy routine. Keep the routine available to direct SQL callers.
delete from acs_function_args
 where function = 'FS_URL__COPY'
   and arg_seq = 1
   and arg_name = 'URL_ID'
   and arg_default = 'target_object_id'
   and 1 = (select count(*) from acs_function_args
             where function = 'FS_URL__COPY');