Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
ea9dafc1
Commit
ea9dafc1
authored
Sep 04, 2009
by
mig5
Committed by
mig5
Sep 04, 2009
Browse files
send the welcome mail to "$client_mail" instead of "$account->mail"
parent
b6b83bcf
Changes
1
Show whitespace changes
Inline
Side-by-side
platform/drupal/install_6.inc
View file @
ea9dafc1
...
...
@@ -71,7 +71,7 @@ function install_send_welcome_mail($url, $account, $profile, $language, $client_
'!date'
=>
format_date
(
time
()),
'!login_uri'
=>
url
(
'user'
,
array
(
'absolute'
=>
TRUE
)),
'!edit_uri'
=>
url
(
'user/'
.
$account
->
uid
.
'/edit'
,
array
(
'absolute'
=>
TRUE
)));
$mail_success
=
drupal_mail
(
'install'
,
'welcome-admin'
,
$
account
->
mail
,
user_preferred_language
(
$account
),
$mail_params
,
$from
,
TRUE
);
$mail_success
=
drupal_mail
(
'install'
,
'welcome-admin'
,
$
client_e
mail
,
user_preferred_language
(
$account
),
$mail_params
,
$from
,
TRUE
);
if
(
$mail_success
)
{
drush_log
(
t
(
'Sent welcome mail to @client'
,
array
(
'@client'
=>
$client_email
)),
'message'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment