You are here

function message_realm_delete_by_realm in Message 6

Message realm delete by realm type and realm ID.

Parameters

$realm: The realm name.

$realm_id: The realm ID.

File

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

Code

function message_realm_delete_by_realm($realm, $realm_id) {
  db_query("DELETE FROM {message_realm} WHERE realm = '%s' AND eid = '%s'", $realm, $realm_id);
}