mirror of
https://github.com/nextcloud/server.git
synced 2026-03-26 20:33:55 -04:00
fix(cron): Fix "Using $this when not in object context"
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
62506a4e8d
commit
eeb0007cd3
1 changed files with 1 additions and 1 deletions
2
cron.php
2
cron.php
|
|
@ -148,7 +148,7 @@ try {
|
|||
break;
|
||||
}
|
||||
|
||||
$jobDetails = get_class($this) . ' (id: ' . $this->getId() . ', arguments: ' . json_encode($this->getArgument()) . ')';
|
||||
$jobDetails = get_class($job) . ' (id: ' . $job->getId() . ', arguments: ' . json_encode($job->getArgument()) . ')';
|
||||
$logger->debug('CLI cron call has selected job ' . $jobDetails, ['app' => 'cron']);
|
||||
|
||||
$memoryBefore = memory_get_usage();
|
||||
|
|
|
|||
Loading…
Reference in a new issue