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.

CommentFileSizeAuthor
event-to-operation.patch16.29 KBkbahey

Comments

avpaderno’s picture

Status: Needs review » Reviewed & tested by the community

I tested it.

I would suggest to write links to issues by putting the issue number between [] like in #265714: Rename 'event' parameter in userpoints_userpointsapi() to 'operation'; 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'.

jredding’s picture

Looks good, this is an overlooked bug. The hook should've also been called operation.

kbahey’s picture

Version: 5.x-3.x-dev » 5.x-3.0
Status: Reviewed & tested by the community » Fixed

Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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