mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
many comments of last pull request applied
This commit is contained in:
@@ -38,7 +38,6 @@ class module_console_schedulerState extends Command
|
||||
, 'print short result, ie: <info>stopped</info> | <info>started(12345)</info> | <info>stopping</info>'
|
||||
, NULL
|
||||
);
|
||||
// $this->setHelp("");
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@@ -26,7 +26,6 @@ use Symfony\Component\Console\Command\Command;
|
||||
class module_console_taskrun extends Command
|
||||
{
|
||||
private $task;
|
||||
|
||||
private $shedulerPID;
|
||||
|
||||
public function __construct($name = null)
|
||||
@@ -125,7 +124,7 @@ class module_console_taskrun extends Command
|
||||
if (method_exists($this->task, 'signal'))
|
||||
$this->task->signal('SIGNAL_SCHEDULER_DIED');
|
||||
else
|
||||
$this->task->setState(task_abstract::STATUS_TOSTOP);
|
||||
$this->task->setState(task_abstract::STATE_TOSTOP);
|
||||
}
|
||||
|
||||
|
||||
@@ -133,4 +132,4 @@ class module_console_taskrun extends Command
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user