Add ability to edit email to admin at account creation
druchris1 - March 7, 2009 - 04:26
| Project: | Mail Editor |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I'd like to be able to see the address of the user who's registering and that I got an email from my drupal site for. A little bit of added code in the patch.
It seems like this basic functionality might want to just go in the drupal core, but I'm not sure where to submit that part to.
| Attachment | Size |
|---|---|
| add_admin_email.patch | 1.52 KB |

#1
Whoops, didn't clean up the description text
#2
+++ mail_edit_user.inc 2009-03-06 23:30:09.000000000 -0500@@ -2,30 +2,32 @@
+ case 'register_pending_approval_admin';
Typo! There is an ";" where it should be an ":". Otherwise this patch seems fine.
Enhanced by Dreditor
#3
Ok, fixed the patch file. THanks for the review
#4
#5
+++ mail_edit_user.inc 2009-03-06 23:30:09.000000000 -0500@@ -2,30 +2,32 @@
+ 'register_pending_approval_admin' => t(' Message to admin, user is pending'),//has password
...
+ case 'register_pending_approval_admin':
Just adds the mailkey to the array and the switch. 'register_pending_approval_admin' is from user_module line 2157. I think this patch is fine and ready to commit.
Enhanced patch reviews
#6
#7
Committed to -dev. If you have more patches, dont be shy to add them to issue queue.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.