You are here

function message_realm_delete in Message 6

Message realm delete.

Parameters

$rid: Message realm IDs array.

1 call to message_realm_delete()
message_deleted_entity_cleanup in ./message.module
Delete message instances that are related to a a deleted entity.

File

./message.module, line 488
API functions to manipulate messages.

Code

function message_realm_delete($rids = array()) {
  $placeholders = db_placeholders($rids);
  db_query("DELETE FROM {message_realm} WHERE rid IN ({$placeholders})", explode(',', $rids));
}