public function Messaging_Simple::read in Messaging 7
Mark when read
File
- messaging_simple/
messaging_simple.inc, line 53 - Drupal Messaging Framework - Send_Method class file
Class
- Messaging_Simple
- Simple message instance
Code
public function read() {
$this->timeread = time();
db_update('messaging_simple')
->fields(array(
'timeread' => $this->timeread,
))
->condition('mgid', $this->mgid)
->execute();
return $this->timeread;
}