Closed (fixed)
Project:
User Registration Notification
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2008 at 10:54 UTC
Updated:
30 Dec 2008 at 03:30 UTC
It's better if recipients know what the user account action was (insert, update).
I changed user_register_notify_user(), case 'update' to include the action:
user_register_notify_setup_email($edit, $account, 'update');
and
user_register_notify_setup_email(&$edit, &$account, $action = 'insert')
and
$variables to include
'!action' => $action == 'insert'? 'create' : 'update',
The !action placeholder can then be included in the email template.
Comments
Comment #1
jonathan_hunt commentedSorry, this shouldn't be critical
Comment #2
rmiddle commentedCommitted to CVS both 5.x and 6.x will be included in 1.10.