userpoints_retroactive.module uses an array containing the key 'event' to call userpoints_userpointsapi(), which is documented to accept an array with the key 'operation'.

Comments

kbahey’s picture

Status: Active » Closed (duplicate)
avpaderno’s picture

Status: Closed (duplicate) » Active

Different module, different issue.

kbahey’s picture

Status: Active » Closed (duplicate)

The module is using the correct name documented in the API.

So it cannot be changed, otherwise it will not work.

avpaderno’s picture

The module will work if it uses the parameter the function expects, not if it uses the parameter the documentation reports. If the documentation is wrong (it doesn't document how things actually work), then also the module which follows that documentation is wrong.

If the status of this issue changes, then it's Drupal to change it. I just added this comment to the issue, without to explicity change the status.