Closed (fixed)
Project:
Drupal core
Version:
5.2
Component:
user.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2007 at 15:53 UTC
Updated:
26 Sep 2007 at 07:12 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedIt'd be good to role the patch to 6.x and HEAD as well. I'll be testing this patch later this week.
Was there a reason for
return '';instead ofreturn;?Comment #2
mvcearnie, I wrote
return '';only because I copied that line of code from the case where no administrator approval is required, a few lines above. Since that worked, I didn't actually check to see if those two return values are treated differently (I hope not, that would be confusing).I agree that this would be good to apply to HEAD and 6.x; I would have indicated that but it doesn't seem possible to set multiple versions when creating an issue.
Comment #3
Anonymous (not verified) commentedThe return question isn't covered in the standards so it should be fine but in PHP speak they both give a value of NULL.
The patch to differing versions. I've seen this handled two ways, one is to push for the patch in one particular version and wait until the patch is accepted and reroll the patch using the same issue for other versions. The other is to just open another issue for the different versions and reference the other issues in the new ones.
Marking as RTBC to see what committer thinks.
Comment #4
mvcI've submitted the same issue against 6.x: http://drupal.org/node/168261
Comment #5
drummCommitted to 5.x.
Comment #6
(not verified) commented