From 83111f29e2776e74b71cbb4ee46f9d73875941af Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 19 Mar 2015 10:45:39 -0700 Subject: [PATCH] Use ksort() in getDeduplicationInfo for sanity Change-Id: Id23cc987b3f1e23b35b0eedbfc5c9978774a0ebd --- includes/jobqueue/Job.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/jobqueue/Job.php b/includes/jobqueue/Job.php index 334d374471..f8de0b5d3c 100644 --- a/includes/jobqueue/Job.php +++ b/includes/jobqueue/Job.php @@ -188,6 +188,8 @@ abstract class Job implements IJobSpecification { 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; -- 2.20.1