Index: openacs-4/packages/acs-tcl/tcl/apm-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-procs.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-tcl/tcl/apm-procs.xql 24 Apr 2001 22:38:12 -0000 1.2 +++ openacs-4/packages/acs-tcl/tcl/apm-procs.xql 27 Apr 2001 01:41:12 -0000 1.3 @@ -1,6 +1,15 @@ + + + + select case when count(*) > 0 then 0 else 1 end from apm_package_versions + where version_id = :version_id + and enabled_p = 't' + + + select package_key from apm_package_version_info where version_id = :version_id