The documentation says this about the return value:

Dependent on the action being performed.

* For all other operations, nothing.

Obviously this is a little buggy!

Comments

jhodgdon’s picture

Status: Active » Fixed

Good catch! It looks like in Drupal 5, there was a 'form' operation that had a return value, but this was removed in Drupal 6. There is apparently no return value being used in Drupal 6 (I checked the code in the comment module pretty thoroughly for where this hook was being invoked, and nowhere did it ever use the return value). So I am just taking out the return value section. I did a few other edits too. This is in the contrib area for Drupal 6, so I went ahead and committed the changes. To see what was done:
http://drupal.org/cvs?commit=300858

jaypan’s picture

Cool, thanks! It was a little confusing :D

Status: Fixed » Closed (fixed)

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