Skip to content

Commit c259aa2

Browse files
committed
Remove email:resend
1 parent 40216b3 commit c259aa2

File tree

5 files changed

+0
-229
lines changed

5 files changed

+0
-229
lines changed

src/LaravelDatabaseEmailsServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public function register()
3333
{
3434
$this->commands([
3535
SendEmailsCommand::class,
36-
ResendEmailsCommand::class,
3736
]);
3837
}
3938
}

src/ResendEmailsCommand.php

Lines changed: 0 additions & 75 deletions
This file was deleted.

src/RetryFailedEmailsCommand.php

Lines changed: 0 additions & 79 deletions
This file was deleted.

src/Store.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,4 @@ public function getQueue()
2929
->limit(Config::cronjobEmailLimit())
3030
->get();
3131
}
32-
33-
/**
34-
* Get all e-mails that failed to be sent.
35-
*
36-
* @param int $id
37-
* @return Collection|Email[]
38-
*/
39-
public function getFailed($id = null)
40-
{
41-
$query = new Email;
42-
43-
return $query
44-
->when($id, function ($query) use ($id) {
45-
$query->where('id', '=', $id);
46-
})
47-
->where('failed', '=', 1)
48-
->where('attempts', '>=', Config::maxAttemptCount())
49-
->whereNull('sent_at')
50-
->whereNull('deleted_at')
51-
->get();
52-
}
5332
}

tests/RetryFailedEmailsCommandTest.php

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)