function hook_query_privatemsg_deleted_alter in Privatemsg 7.2
Same name and namespace in other branches
- 7 privatemsg.api.php \hook_query_privatemsg_deleted_alter()
Alter the query that loads deleted messages to flush them.
Parameters
$query: Query object
See also
Related topics
File
- ./
privatemsg.api.php, line 125 - Privatemsg API Documentation
Code
function hook_query_privatemsg_deleted_alter($query) {
$days = $query
->getMetaData('arg_1');
$max = $query
->getMetaData('arg_2');
}