dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
ede8665
)
Merge "Localisation updates from http://translatewiki.net."
author
Reedy
<reedy@wikimedia.org>
Thu, 31 May 2012 10:19:36 +0000
(10:19 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 31 May 2012 10:19:37 +0000
(10:19 +0000)
includes/job/JobQueue.php
patch
|
blob
|
history
diff --git
a/includes/job/JobQueue.php
b/includes/job/JobQueue.php
index
7a4f0ad
..
7b7ec0c
100644
(file)
--- a/
includes/job/JobQueue.php
+++ b/
includes/job/JobQueue.php
@@
-328,6
+328,7
@@
abstract class Job {
global $wgJobTypesExcludedFromDefaultQueue;
$conditions = array();
if ( count( $wgJobTypesExcludedFromDefaultQueue ) > 0 ) {
+ $dbr = wfGetDB( DB_SLAVE );
foreach ( $wgJobTypesExcludedFromDefaultQueue as $cmdType ) {
$conditions[] = "job_cmd != " . $dbr->addQuotes( $cmdType );
}