Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Kapetanos committed Nov 26, 2016
1 parent 4e8035d commit 4696737
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Command/EzCleanUpVersionsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function __construct(
protected function configure()
{
$this
->setName('ez-clean-up-versions:run')
->setName('matthewkp:ez-clean-up-versions')
->setDescription('This script will remove old versions of all contents');
}

Expand Down
3 changes: 0 additions & 3 deletions DependencyInjection/MatthewkpEzCleanUpVersionsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class MatthewkpEzCleanUpVersionsExtension extends Extension
*/
public function load(array $configs, ContainerBuilder $container)
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);

$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
$loader->load('default_settings.yml');
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AppKernel extends Kernel
## Add in crontab
```php
// /etc/cron.d/<your_cron_file>
0 0 * * * <user> cd <your_site_path> && php app/console matthewkp:ez-clear-up-versions --env=<ENV> > 2>&1
0 0 * * * <user> cd <your_site_path> && php app/console matthewkp:ez-clean-up-versions --env=<ENV> > 2>&1
```

## Configure
Expand Down

0 comments on commit 4696737

Please sign in to comment.