You are here

constant PM_BLOCK_USER_DISALLOW_SENDING in Privatemsg 7

Same name and namespace in other branches
  1. 6.2 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_SENDING
  2. 6 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_SENDING
  3. 7.2 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_SENDING

Disallow sending private messages to a user.

3 uses of PM_BLOCK_USER_DISALLOW_SENDING
pm_block_user_privatemsg_block_message in pm_block_user/pm_block_user.module
Implements hook_privatemsg_block_message.
pm_block_user_query_privatemsg_autocomplete_alter in pm_block_user/pm_block_user.module
Implements hook_query_TAG_alter().
_pm_block_user_rule_exists in pm_block_user/pm_block_user.module
Checks whether a rule exists for a given author, recipient and action.

File

pm_block_user/pm_block_user.module, line 16
Allows users to block other users from sending them any messages

Code

define('PM_BLOCK_USER_DISALLOW_SENDING', 1);