Commit c4226e68 authored by rfay's avatar rfay Committed by oadaeh

Issue #2577823 by rfay: Fields on privatemsg do not show until cache clear

parent 6f0dbc74
......@@ -1984,6 +1984,7 @@ function _privatemsg_send($message) {
module_invoke_all('privatemsg_message_insert', $message);
field_attach_insert('privatemsg_message', $message);
cache_clear_all("field:privatemsg_message:{$message->mid}", 'cache_field');
} catch (Exception $exception) {
$transaction->rollback();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment