Documentation: Incorrect key in drupal_mail function
meba - June 23, 2008 - 09:15
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | documentation |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
http://api.drupal.org/?q=api/function/drupal_mail/6
function example_notify is sending a key to example_mail here, where key = 'notify'
But example_mail sends mail after receiving a key = 'notice'
In this example, mail will never be sent.
| Attachment | Size |
|---|---|
| drupal6_mail.patch | 697 bytes |

#1
Just doing some "farming" here. I can confirm this documentation bug.
I rerolled the patch for HEAD (D7). Seems like a simple fix that will help others avoid confusion when they follow the example in the documentation.
#2
Critical documentation bug. Simple change.
#3
I've committed this patch to CVS HEAD and DRUPAL-6. Thanks!
--project followup subject--
Automatically closed -- issue fixed for two weeks with no activity.
#4
Automatically closed -- issue fixed for two weeks with no activity.