dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Html: Add buttonAttributes() more diligently"
[lhc/web/wiklou.git]
/
includes
/
jobqueue
/
JobQueue.php
diff --git
a/includes/jobqueue/JobQueue.php
b/includes/jobqueue/JobQueue.php
index
1a68489
..
013cc61
100644
(file)
--- a/
includes/jobqueue/JobQueue.php
+++ b/
includes/jobqueue/JobQueue.php
@@
-323,6
+323,12
@@
abstract class JobQueue {
$this->doBatchPush( $jobs, $flags );
$this->aggr->notifyQueueNonEmpty( $this->wiki, $this->type );
+
+ foreach ( $jobs as $job ) {
+ if ( $job->isRootJob() ) {
+ $this->deduplicateRootJob( $job );
+ }
+ }
}
/**