Support having legacy OC_Cache_FileGlobalGC
background jobs
This commit is contained in:
parent
b62cb00771
commit
ec9bf8a2d6
1 changed files with 3 additions and 0 deletions
|
@ -149,6 +149,9 @@ class JobList implements IJobList {
|
|||
/**
|
||||
* @var Job $job
|
||||
*/
|
||||
if ($class === 'OC_Cache_FileGlobalGC') {
|
||||
$class = '\OC\Cache\FileGlobalGC';
|
||||
}
|
||||
$job = new $class();
|
||||
$job->setId($row['id']);
|
||||
$job->setLastRun($row['last_run']);
|
||||
|
|
Loading…
Reference in a new issue