Minor misspellings:

<?php
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".

Files: 
CommentFileSizeAuthor
#3 fixed-misspelling-1281158-0.patch1.25 KBkari.kaariainen
PASSED: [[SimpleTest]]: [MySQL] 13 pass(es).
[ View ]

Comments

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

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

:)

Status:Fixed» Active
StatusFileSize
new1.25 KB
PASSED: [[SimpleTest]]: [MySQL] 13 pass(es).
[ View ]

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

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.

Status:Active» Needs review

Changed status.

Status:Needs review» Fixed

thanks, patch looks good! Committed.

Status:Active» Closed (fixed)

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