Skip to content
Snippets Groups Projects
Commit a6a1f892 authored by Jakob Sack's avatar Jakob Sack
Browse files

BackgroundJobs: fix bug

parent 2b5f0055
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment