1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 18:22:41 +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,11 +179,11 @@ final class PhabricatorPeopleEditController
id(new PhabricatorUserEditor())
->setActor($admin)
->createNewUser($user, $email);
}
if ($welcome_checked) {
$user->sendWelcomeEmail($admin);
}
}
$response = id(new AphrontRedirectResponse())
->setURI('/people/edit/'.$user->getID().'/?saved=true');
@ -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());