wrong class name: JobQueue -> Job
authorAntoine Musso <hashar@free.fr>
Wed, 30 May 2012 14:51:12 +0000 (16:51 +0200)
committerAntoine Musso <hashar@free.fr>
Wed, 30 May 2012 14:51:12 +0000 (16:51 +0200)
Commit fb69ee48 used a wrong class name JobQueue instead of Job
Was https://gerrit.wikimedia.org/r/#/c/9116/

Change-Id: Ibe3e146e021a95376d2c57d0366645d8f5370431

maintenance/nextJobDB.php

index d9bd3b8..ac4e723 100644 (file)
@@ -94,7 +94,7 @@ class nextJobDB extends Maintenance {
                $lb = wfGetLB( $dbName );
                $db = $lb->getConnection( DB_MASTER, array(), $dbName );
                if ( $type === false ) {
-                       $conds = JobQueue::defaultQueueConditions( );
+                       $conds = Job::defaultQueueConditions( );
                } else {
                        $conds = array( 'job_cmd' => $type );
                }