mediawiki.util: Add mw.log.deprecate to #jsMessage
[lhc/web/wiklou.git] / maintenance / nextJobDB.php
index 06ccccb..21d9104 100644 (file)
@@ -78,10 +78,6 @@ class NextJobDB extends Maintenance {
                        }
 
                        list( $type, $db ) = $candidates[mt_rand( 0, count( $candidates ) - 1 )];
-                       if ( JobQueueGroup::singleton( $db )->isQueueDeprioritized( $type ) ) {
-                               $pendingDBs[$type] = array_diff( $pendingDBs[$type], array( $db ) );
-                               $again = true;
-                       }
                } while ( $again );
 
                if ( $this->hasOption( 'types' ) ) {
@@ -93,7 +89,7 @@ class NextJobDB extends Maintenance {
 
        /**
         * Do all ready periodic jobs for all databases every 5 minutes (and .1% of the time)
-        * @return integer
+        * @return int
         */
        private function executeReadyPeriodicTasks() {
                global $wgLocalDatabases, $wgMemc;