Replace 'event' by 'operation' in all modules
kbahey - June 2, 2008 - 19:46
| Project: | User Points Contributed modules |
| Version: | 5.x-3.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This is a parallel issue to http://drupal.org/node/265714.
The attached patch changes all occurrences of 'event' to 'operation' in the modules to be consistent with the API.
| Attachment | Size |
|---|---|
| event-to-operation.patch | 16.29 KB |

#1
I tested it.
I would suggest to write links to issues by putting the issue number between
[]like in[#265714]; in that way it is possible to know if the issue is not active anymore (and to know which issue is, as Drupal puts the title of the issue).For the example above, Drupal outputs #265714: Rename 'event' parameter in userpoints_userpointsapi() to 'operation'.
#2
Looks good, this is an overlooked bug. The hook should've also been called operation.
#3
Committed.
#4
Automatically closed -- issue fixed for two weeks with no activity.