diff options
author | Joas Schilling <coding@schilljs.com> | 2024-01-10 15:51:22 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-01-10 15:51:22 +0100 |
commit | eeb0007cd319418109bdcee7a0fc4853840016fb (patch) | |
tree | 482dc4f1985dbeabca6803d489f061f3012a5824 /cron.php | |
parent | 62506a4e8de97dc9909d83029f47e78afce99371 (diff) | |
download | nextcloud-server-eeb0007cd319418109bdcee7a0fc4853840016fb.tar.gz nextcloud-server-eeb0007cd319418109bdcee7a0fc4853840016fb.zip |
fix(cron): Fix "Using $this when not in object context"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |