From f6de15c0e4046e01be7f77da18494d99007df25d Mon Sep 17 00:00:00 2001 From: AVMG20 Date: Sat, 12 Jun 2021 13:59:48 +0200 Subject: [PATCH] Remind to verify email #30 --- app/Console/Commands/createUsefulLink.php | 53 ------------------- .../Commands/sendEmailVerification.php | 45 ---------------- 2 files changed, 98 deletions(-) delete mode 100644 app/Console/Commands/createUsefulLink.php delete mode 100644 app/Console/Commands/sendEmailVerification.php diff --git a/app/Console/Commands/createUsefulLink.php b/app/Console/Commands/createUsefulLink.php deleted file mode 100644 index e65c57a5..00000000 --- a/app/Console/Commands/createUsefulLink.php +++ /dev/null @@ -1,53 +0,0 @@ -alert('You can add Icons to your useful links. Go to https://fontawesome.com/v5.15/icons?d=gallery&p=2 and copy an Icon name.'); - - $icon = $this->ask('Specify the class(es) of the font-awesome icon you want to use as the icon. (e.x: ad, fa fa-briefcase, fab fa-discord)', ''); - $title = $this->ask('What do you want the title to be of this message?', 'Default Useful Link Title'); - $message= $this->ask('Now please type the message you want to show. Tip: You can use HTML to format!'); - $link = $this->ask('Please fill in a valid Link. Users can click the title to go to the link', 'https://bitsec.dev'); - - $usefulLink = UsefulLink::create([ - 'icon' => $icon, - 'title' => $title, - 'link' => $link, - 'message' => $message - ]); - - $this->alert('Command ran successful inserted useful link into database'); - - $this->table(['Icon', 'Title', 'Link', 'Message'], [ - [$icon, $title, $link, $message] - ]); - - return 1; - } -} diff --git a/app/Console/Commands/sendEmailVerification.php b/app/Console/Commands/sendEmailVerification.php deleted file mode 100644 index 546d09b3..00000000 --- a/app/Console/Commands/sendEmailVerification.php +++ /dev/null @@ -1,45 +0,0 @@ -argument('user'); - User::find($this->argument('user'))->get()[0]->sendEmailVerificationNotification(); - return 0; - } -}