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".
Comments
Comment #1
dasjoComment #2
dasjo:)
Comment #3
kari.kaariainen commentedThis is my very first patch, hope I got it right.
Comment #4
mrtoner commentedI 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.
Comment #5
kari.kaariainen commentedChanged status.
Comment #6
fagothanks, patch looks good! Committed.