(Grav GitSync) Automatic Commit from smokephil
This commit is contained in:
commit
4267db646d
2765 changed files with 462171 additions and 0 deletions
39
plugins/email/cli/ClearQueueFailuresCommand.php
Normal file
39
plugins/email/cli/ClearQueueFailuresCommand.php
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
namespace Grav\Plugin\Console;
|
||||
|
||||
use Grav\Common\Grav;
|
||||
use Grav\Console\ConsoleCommand;
|
||||
use Grav\Plugin\Email\Email;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
|
||||
/**
|
||||
* Class FlushQueueCommand
|
||||
* @package Grav\Console\Cli\
|
||||
* @deprecated 4.0 Switched from Swiftmailer to Symfony/Mailer - No longer supported
|
||||
*/
|
||||
class ClearQueueFailuresCommand extends ConsoleCommand
|
||||
{
|
||||
/** @var array */
|
||||
protected $options = [];
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('clear-queue-failures')
|
||||
->setAliases(['clearqueue'])
|
||||
->setDescription('DEPRECATED: Clears any queue failures that have accumulated')
|
||||
->setHelp('The <info>clear-queue-failures</info> command clears any queue failures that have accumulated');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
* @deprecated 4.0 Switched from Swiftmailer to Symfony/Mailer - No longer supported
|
||||
*/
|
||||
protected function serve()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue