mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
Merge pull request #2157 from nextcloud/fix/backgroundjobs-run
\OCP\BackgroundJob\Job::run is neither public nor static
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user