JobRunner: fix PHP errors

This commit is contained in:
Thomas Gelf 2016-04-22 11:28:51 +02:00
parent 6298659c32
commit 51ebf79632

View File

@ -25,15 +25,10 @@ class JobRunner
if ($this->shouldFork()) {
$this->fork($job);
} else {
$this->run($job);
$job->run();
}
}
protected function run(Job $job)
{
$job->run();
}
protected function fork(Job $job)
{
$cmd = 'icingacli director job run ' . $job->id;
@ -45,7 +40,7 @@ class JobRunner
return true;
}
protected getRegisteredJobs()
protected function getRegisteredJobs()
{
}
}