function node_import_delete_task in Node import 6
Delete an import task.
Parameters
$taskid: Unique identifier.
Return value
Nothing.
Related topics
1 call to node_import_delete_task()
File
- ./
node_import.inc, line 1131 - Public API of the Node import module.
Code
function node_import_delete_task($taskid) {
module_invoke_all('node_import_task', $taskid, 'delete');
db_query("DELETE FROM {node_import_tasks} WHERE taskid = %d", $taskid);
db_query("DELETE FROM {node_import_status} WHERE taskid = %d", $taskid);
}