public static function Messaging_Store::message_delete in Messaging 6.4
Delete single message from store
File
- includes/
messaging_store.class.inc, line 384 - Database storage for the messaging framework
Class
- Messaging_Store
- Default storage and queueing system for Messaging
Code
public static function message_delete($message) {
$mqid = self::message_key($message);
self::cache_set($mqid, FALSE);
db_query('DELETE FROM {' . self::DB_TABLE . '} WHERE ' . self::DB_KEY . ' = %d', $mqid);
}