From: Aaron Schulz Date: Thu, 19 Mar 2015 17:45:39 +0000 (-0700) Subject: Use ksort() in getDeduplicationInfo for sanity X-Git-Tag: 1.31.0-rc.0~12009^2 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=83111f29e2776e74b71cbb4ee46f9d73875941af;p=lhc%2Fweb%2Fwiklou.git Use ksort() in getDeduplicationInfo for sanity Change-Id: Id23cc987b3f1e23b35b0eedbfc5c9978774a0ebd --- 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;