Пример #1
0
}
else
{
    echo __LINE__.": failed complete delete";
}
htmlln();


$message_id = DBMessage::CreateMessage(
        "hello there", "hello",
        array(
            DBMessage::ORIGIN_TYPE => "test",
            DBMessage::ORIGIN_ID => 123
        ),
        array(234, 345, 456, 567));
DBMessage::ForceDeleteMessage($message_id);
$message = DBMessage::GetMessage($message_id);
if ($message == null)
{
    echo __LINE__.": passed force delete";
}
else
{
    echo __LINE__.": failed force delete";
}
htmlln();


$message_id = array();
$message_id[] = DBMessage::CreateMessage(
        "hello", "poo",