Duplication Is Evil (DIE) so going to put this code in here and eventually not use it elsewhere.
This has been committed to both branches.
Automatically closed -- issue fixed for 2 weeks with no activity.
This issue has no child issues.
Drupal is a registered trademark of Dries Buytaert.