mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
BackgroundJobs: fix bug
This commit is contained in:
parent
2b5f005547
commit
a6a1f892f0
1 changed files with 2 additions and 2 deletions
|
|
@ -73,8 +73,8 @@ class OC_BackgroundJob_Worker{
|
|||
|
||||
// search for next background job
|
||||
foreach( $regular_tasks as $key => $value ){
|
||||
if( strcmp( $lasttask, $key ) > 0 ){
|
||||
OC_Appconfig::getValue( 'core', 'backgroundjobs_task', $key );
|
||||
if( strcmp( $key, $lasttask ) > 0 ){
|
||||
OC_Appconfig::setValue( 'core', 'backgroundjobs_task', $key );
|
||||
$done = true;
|
||||
call_user_func( $value );
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue