You are here

function deploy_delete_plan in Deploy - Content Staging 6

Delete a deployment plan

Parameters

$pid: Unique ID of the plan to delete.

File

./deploy.module, line 670
Deployment API which enables modules to deploy items between servers.

Code

function deploy_delete_plan($pid) {
  deploy_empty_plan($pid);
  db_query("DELETE FROM {deploy_plan} WHERE pid = %d", $pid);
}