apm_version_disable (public)

 apm_version_disable [ -callback callback ] version_id

Defined in packages/acs-tcl/tcl/apm-install-procs.tcl

Disables a version of a package.

Switches:
-callback (optional, defaults to "apm_dummy_callback")
Parameters:
version_id (required)
The id of the version to be disabled.

Testcases:
No testcase defined.
Source code:
    db_exec_plsql apm_package_version_disable {}
    acs::try_cache acs::misc_cache flush  apm_package_enabled-[apm_package_key_from_version_id $version_id]
    apm_callback_and_log $callback  "<p>Package disabled."
Generic XQL file:
packages/acs-tcl/tcl/apm-install-procs.xql

PostgreSQL XQL file:
<fullquery name="apm_version_disable.apm_package_version_disable">
    <querytext>

	  select apm_package_version__disable(
            :version_id
	  );
    
      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
<fullquery name="apm_version_disable.apm_package_version_disable">
    <querytext>
      
	begin
	  apm_package_version.disable(
            version_id => :version_id
	  );
	end;
    
      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: