Minor misspellings:

function user_rules_action_info() {
  return array(
    'rules_action_user_addrole' => array(
      'label' => t('Add user role'),
      'arguments' => array(
        'user' => array('type' => 'user', 'label' => t('User whos roles should be changed')),
      ),
      'module' => 'User',
    ),
    'rules_action_user_removerole' => array(
      'label' => t('Remove user role'),
      'arguments' => array(
        'user' => array('type' => 'user', 'label' => t('User whos roles should be changed')),
      ),
      'module' => 'User',
    ),
...

Both instances of "whos" should be "whose".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dasjo’s picture

Title: Whos on first? » Fix misspallings: whose instead of whos
Component: Rules Core » Rules Engine
dasjo’s picture

Title: Fix misspallings: whose instead of whos » Fix misspellings: whose instead of whos

:)

kari.kaariainen’s picture

Status: Fixed » Active
FileSize
1.25 KB

This is my very first patch, hope I got it right.

mrtoner’s picture

I haven't learned git, so I'm still doing patches the old way. Unfortunately, that means I don't offer as many patches as I might otherwise.

kari.kaariainen’s picture

Status: Active » Needs review

Changed status.

fago’s picture

Status: Needs review » Fixed

thanks, patch looks good! Committed.

Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.