You are here

function _eloqua_post_delete in Eloqua 6

Deletes a post object from the database

Parameters

$post_id int:

Return value

boolean

1 call to _eloqua_post_delete()
eloqua_post_delete in ./eloqua.inc
Deletes a post object from the database
1 string reference to '_eloqua_post_delete'
eloqua_post_delete in ./eloqua.inc
Deletes a post object from the database

File

./eloqua.inc, line 612

Code

function _eloqua_post_delete($post_id) {
  $sql = 'DELETE FROM ' . ELOQUA_SCHEMA_SAVED_POSTS . ' WHERE ' . ELOQUA_POST_FIELD_POST_ID . ' = %d';
  $params = array(
    $post_id,
  );
  $result = _eloqua_modify_query($sql, $params);
  return $result;
}