21 lines
580 B
PHP
21 lines
580 B
PHP
<?php
|
|
|
|
namespace KupShop\KupShopBundle\Command;
|
|
|
|
use KupShop\AdminBundle\Util\ActivityLog;
|
|
use Symfony\Component\Console\Command\Command;
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
class LogDeployCommand extends Command
|
|
{
|
|
protected static $defaultName = 'kupshop:log:deploy';
|
|
|
|
protected function execute(InputInterface $input, OutputInterface $output)
|
|
{
|
|
addActivityLog(ActivityLog::SEVERITY_NOTICE, ActivityLog::TYPE_CHANGE, 'Proběhlo nasazení nove verze e-shopu.');
|
|
|
|
return 0;
|
|
}
|
|
}
|