Merge pull request #2160 from nextcloud/backport/2157/stable17

[stable17] \OCP\BackgroundJob\Job::run is neither public nor static
This commit is contained in:
Christoph Wurst 2020-06-19 12:22:24 +02:00 committed by GitHub
commit 665a33cbaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ your job class of choice.
parent::setInterval(3600);
}
public static function run($arguments) {
protected function run($arguments) {
$this->myService->doCron($arguments['uid']);
}