function message_realm_delete_by_message_instance in Message 6
Message realm delete by message instance ID.
Parameters
$iids: Message instance IDs array.
1 call to message_realm_delete_by_message_instance()
- message_instance_delete in ./
message.module - Message instance delete.
File
- ./
message.module, line 500 - API functions to manipulate messages.
Code
function message_realm_delete_by_message_instance($iids = array()) {
$placeholders = db_placeholders($iids);
db_query("DELETE FROM {message_realm} WHERE iid IN ({$placeholders})", implode(',', $iids));
}