1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Merge pull request #167 from CodeBlock/master

D3081
This commit is contained in:
Evan Priestley 2012-07-26 14:49:44 -07:00
commit 1cf880ffc6

View file

@ -179,10 +179,10 @@ final class PhabricatorPeopleEditController
id(new PhabricatorUserEditor())
->setActor($admin)
->createNewUser($user, $email);
}
if ($welcome_checked) {
$user->sendWelcomeEmail($admin);
}
if ($welcome_checked) {
$user->sendWelcomeEmail($admin);
}
$response = id(new AphrontRedirectResponse())
@ -264,6 +264,15 @@ final class PhabricatorPeopleEditController
id(new AphrontFormStaticControl())
->setLabel('Email')
->setValue($status));
$form->appendChild(
id(new AphrontFormCheckboxControl())
->addCheckbox(
'welcome',
1,
'Re-send "Welcome to Phabricator" email.',
false));
}
$form->appendChild($this->getRoleInstructions());