aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Jobs/SendVerificationEmail.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Jobs/SendVerificationEmail.php')
-rwxr-xr-xapp/Jobs/SendVerificationEmail.php39
1 files changed, 0 insertions, 39 deletions
diff --git a/app/Jobs/SendVerificationEmail.php b/app/Jobs/SendVerificationEmail.php
deleted file mode 100755
index 0a71f05..0000000
--- a/app/Jobs/SendVerificationEmail.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-namespace App\Jobs;
-
-use App\Mail\EmailVerification;
-use Illuminate\Bus\Queueable;
-use Illuminate\Contracts\Queue\ShouldQueue;
-use Illuminate\Foundation\Bus\Dispatchable;
-use Illuminate\Queue\InteractsWithQueue;
-use Illuminate\Queue\SerializesModels;
-use Mail;
-
-class SendVerificationEmail implements ShouldQueue
-{
- use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
-
- protected $user;
-
- /**
- * Create a new job instance.
- *
- * @return void
- */
- public function __construct($user)
- {
- $this->user = $user;
- }
-
- /**
- * Execute the job.
- *
- * @return void
- */
- public function handle()
- {
- $email = new EmailVerification($this->user);
- Mail::to($this->user->email)->send($email);
- }
-}