lost the names when making a new function send_invitation
darcs-hash:20080827005418-84dde-7e7a4be646c520542e8c065ba90ba759c100b481.gz
This commit is contained in:
parent
ebf5d52f74
commit
37991eace8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user