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

Fixed bug in OC_BackgroundJob_Worker

parent 13a0818f
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ class OC_BackgroundJob_Worker{
}
else{
$tasks = OC_BackgroundJob_ScheduledTask::all();
if( length( $tasks )){
if( count( $tasks )){
$task = $tasks[0];
// delete job before we execute it. This prevents endless loops
// of failing jobs.
......
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