You are here

function _role_watchdog_set_message in Role Watchdog 5

Internal function

Handles user message for any changes.

2 calls to _role_watchdog_set_message()
role_watchdog_user_admin_account_submit in ./role_watchdog.module
Implementation of hook_form_submit()
role_watchdog_user_edit_submit in ./role_watchdog.module
Implementation of hook_form_submit()

File

./role_watchdog.module, line 191
Logs changes to user roles.

Code

function _role_watchdog_set_message($count) {
  if ($count) {
    drupal_set_message(t('Role !change_has been logged.', array(
      '!change_has' => format_plural($count, 'change has', 'changes have'),
    )));
  }
}