From 4107273a790ec53880b70b944faa9db5b142c15b Mon Sep 17 00:00:00 2001 From: Jakob Sack Date: Thu, 9 Aug 2012 00:46:50 +0200 Subject: [PATCH] fix license text --- lib/backgroundjob/regulartask.php | 2 +- lib/backgroundjob/scheduledtask.php | 2 +- lib/backgroundjob/worker.php | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/backgroundjob/regulartask.php b/lib/backgroundjob/regulartask.php index 5c416fcdb0..53bd4eb5e9 100644 --- a/lib/backgroundjob/regulartask.php +++ b/lib/backgroundjob/regulartask.php @@ -1,6 +1,6 @@ $value ){ if( strcmp( $lasttask, $key ) > 0 ){ - OC_Appconfig::getValue( 'core', 'backgroundjobs_task', $key ); + OC_Appconfig::getValue( 'core', 'backgroundjob_task', $key ); $done = true; call_user_func( $value ); break; @@ -83,7 +83,7 @@ class OC_BackgroundJob_Worker{ if( $done == false ){ // Next time load scheduled tasks - OC_Appconfig::setValue( 'core', 'backgroundjobs_step', 'scheduled_tasks' ); + OC_Appconfig::setValue( 'core', 'backgroundjob_step', 'scheduled_tasks' ); } } else{ @@ -99,8 +99,8 @@ class OC_BackgroundJob_Worker{ } else{ // Next time load scheduled tasks - OC_Appconfig::setValue( 'core', 'backgroundjobs_step', 'regular_tasks' ); - OC_Appconfig::setValue( 'core', 'backgroundjobs_task', '' ); + OC_Appconfig::setValue( 'core', 'backgroundjob_step', 'regular_tasks' ); + OC_Appconfig::setValue( 'core', 'backgroundjob_task', '' ); } }