You are here

function subscriptions_hold in Subscriptions 5

store node changes for later handling

2 calls to subscriptions_hold()
subscriptions_comment in ./subscriptions.module
Implementation of hook_comment().
subscriptions_nodeapi in ./subscriptions.module
Implementation of hook_nodeapi().

File

./subscriptions.module, line 678

Code

function subscriptions_hold($content, $ptype, $op, $pid) {
  $strqry = 'INSERT INTO {subscriptions_holding} ( content, ptype, op, pid )  VALUES (\'%s\', \'%s\', \'%s\', %d)';
  db_query($strqry, serialize($content), $ptype, $op, $pid);
}