You are here

public function Invite::sendInvite in Invite 7.4

File

includes/invite.controller.inc, line 146

Class

Invite
Invite class.

Code

public function sendInvite() {
  $result = FALSE;
  if (!empty($this->sendNotification)) {

    // Notify other modules.
    entity_get_controller('invite')
      ->invoke('send', $this);
    $result = TRUE;
  }
  else {
    $result = TRUE;
  }
  return $result;
}