lost the names when making a new function send_invitation

darcs-hash:20080827005418-84dde-7e7a4be646c520542e8c065ba90ba759c100b481.gz
This commit is contained in:
Evan Prodromou 2008-08-26 20:54:18 -04:00
parent ebf5d52f74
commit 37991eace8

View File

@ -143,6 +143,11 @@ class InviteAction extends Action {
function send_invitation($email, $user, $personal) {
$profile = $user->getProfile();
$bestname = $profile->getBestName();
$sitename = common_config('site', 'name');
$invite = new Invitation();
$invite->address = $email;