mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-01-06 17:40:52 -05:00
34 lines
561 B
PHP
34 lines
561 B
PHP
<?php
|
|
|
|
namespace App\Listeners;
|
|
|
|
use App\Libraries\MultiDB;
|
|
use Illuminate\Queue\InteractsWithQueue;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
|
|
class SendVerificationNotification
|
|
{
|
|
/**
|
|
* Create the event listener.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the event.
|
|
*
|
|
* @param object $event
|
|
* @return void
|
|
*/
|
|
public function handle($event)
|
|
{
|
|
//send confirmation email using $event->user
|
|
MultiDB::setDB($event->user->db);
|
|
|
|
}
|
|
}
|