diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-01-10 16:42:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 16:42:49 +0100 |
commit | b2aa27f3e38ba156c21e345cc13dbcd21b1c5e1b (patch) | |
tree | 482dc4f1985dbeabca6803d489f061f3012a5824 | |
parent | 62506a4e8de97dc9909d83029f47e78afce99371 (diff) | |
parent | eeb0007cd319418109bdcee7a0fc4853840016fb (diff) | |
download | nextcloud-server-b2aa27f3e38ba156c21e345cc13dbcd21b1c5e1b.tar.gz nextcloud-server-b2aa27f3e38ba156c21e345cc13dbcd21b1c5e1b.zip |
Merge pull request #42681 from nextcloud/bugfix/noid/fix-cron.php
fix(cron): Fix "Using $this when not in object context"
-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(); |