function privatemsg_block_save

7-1 privatemsg.module privatemsg_block_save($delta = '', $edit = array())
7-2 privatemsg.module privatemsg_block_save($delta = '', $edit = array())

Implements hook_block_save().

File

./privatemsg.module, line 1528
Allows users to send private messages to other users.

Code

function privatemsg_block_save($delta = '', $edit = array()) {
  if ($delta == 'privatemsg-new') {
    variable_set('privatemsg_no_messages_notification', $edit['notification']);
  }
}