Skip to content

Commit

Permalink
Dev: --interval optionnable in plugin cron
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Dec 19, 2016
1 parent 2f9b7ee commit a0af6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/commands/PluginCommand.php
Expand Up @@ -15,7 +15,7 @@ class PluginCommand extends CConsoleCommand
{
public $connection;

public function actionCron($interval)
public function actionCron($interval=null)
{
$pm = \Yii::app()->pluginManager;
$event = new PluginEvent('cron');
Expand Down

0 comments on commit a0af6f0

Please sign in to comment.