jenkins-bot has submitted this change and it was merged.

Change subject: Use ksort() in getDeduplicationInfo for sanity
......................................................................


Use ksort() in getDeduplicationInfo for sanity

Change-Id: Id23cc987b3f1e23b35b0eedbfc5c9978774a0ebd
---
M includes/jobqueue/Job.php
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/jobqueue/Job.php b/includes/jobqueue/Job.php
index 334d374..f8de0b5 100644
--- a/includes/jobqueue/Job.php
+++ b/includes/jobqueue/Job.php
@@ -188,6 +188,8 @@
                        unset( $info['params']['rootJobTimestamp'] );
                        // Likewise for jobs with different delay times
                        unset( $info['params']['jobReleaseTimestamp'] );
+                       // Queues pack and hash this array, so normalize the 
order
+                       ksort( $info['params'] );
                }
 
                return $info;

-- 
To view, visit https://gerrit.wikimedia.org/r/197963
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id23cc987b3f1e23b35b0eedbfc5c9978774a0ebd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to