You are here

public function MessageDigest::markSent in Message Digest 7

Mark the sent digest messages as sent in the message_digest DB table.

File

plugins/notifier/abstract.inc, line 133

Class

MessageDigest
Message Digest notifier.

Code

public function markSent($uid, $plugin_name) {
  $num_rows = db_update('message_digest')
    ->fields(array(
    'sent' => TRUE,
  ))
    ->condition('receiver', $uid)
    ->condition('notifier', $plugin_name)
    ->execute();
}