You are here

function ip_posts_load in IP address manager 7.2

Loads a record into the ip_posts table.

2 calls to ip_posts_load()
_drush_ip_backlog_comments_process_batch_task in ./ip.drush.inc
Batch process task: backlog comments.
_drush_ip_backlog_nodes_process_batch_task in ./ip.drush.inc
Batch process task: backlog nodes.

File

./ip.module, line 169
IP address manager module.

Code

function ip_posts_load($type, $id) {
  return db_query('SELECT * FROM {ip_posts} WHERE type = :type AND id = :id', array(
    'type' => $type,
    'id' => $id,
  ))
    ->fetch();
}