Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2009 at 04:04 UTC
Updated:
26 Dec 2009 at 00:00 UTC
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
Comment #1
jhodgdonGood 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
Comment #2
jaypanCool, thanks! It was a little confusing :D