You are here

function _eloqua_webform_delete in Eloqua 6

Deletes a webform object from the database

Parameters

$nid int:

Return value

boolean

1 call to _eloqua_webform_delete()
eloqua_webform_delete in ./eloqua.inc
Deletes a webform settings object from the database

File

./eloqua.inc, line 366

Code

function _eloqua_webform_delete($nid) {
  $sql = 'DELETE FROM ' . ELOQUA_SCHEMA_WEBFORM . ' WHERE ' . ELOQUA_WEBFORM_FIELD_NODE_ID . ' = %d';
  $params = array(
    $nid,
  );
  $result = _eloqua_modify_query($sql, $params);
  return $result;
}