chore: create production-v2 branch with content only
This branch contains ONLY: - Pages (config/www/user/pages/) - Themes (config/www/user/themes/) - Plugins (config/www/user/plugins/) - PRODUCTION.md - Minimal .gitignore Clean slate for production deployment. All development files, configs, scripts removed.
This commit is contained in:
39
config/www/user/plugins/email/cli/FlushQueueCommand.php
Normal file
39
config/www/user/plugins/email/cli/FlushQueueCommand.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 FlushQueueCommand extends ConsoleCommand
|
||||
{
|
||||
/** @var array */
|
||||
protected $options = [];
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('flush-queue')
|
||||
->setAliases(['flushqueue'])
|
||||
->setDescription('DEPRECATED: Flushes the email queue of any pending emails')
|
||||
->setHelp('The <info>flush-queue</info> command flushes the email queue of any pending emails');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
* @deprecated 4.0 Switched from Swiftmailer to Symfony/Mailer - No longer supported
|
||||
*/
|
||||
protected function serve()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user