X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueGroup.php;h=21f09e5102f16cd481f58b643c54211a2167bec5;hb=a82cb5aa18e2d5dc886d51f71b224dbd9de83cae;hp=addc7fc2e112f624ee4786cb88390ab7adcd5fbf;hpb=3f59cb9f3a53ad28f8a95fe299c5de6abd24b453;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobQueueGroup.php b/includes/jobqueue/JobQueueGroup.php index addc7fc2e1..21f09e5102 100644 --- a/includes/jobqueue/JobQueueGroup.php +++ b/includes/jobqueue/JobQueueGroup.php @@ -468,7 +468,8 @@ class JobQueueGroup { function __destruct() { $n = count( $this->bufferedJobs ); if ( $n > 0 ) { - $type = implode( ', ', array_unique( array_map( 'get_class', $this->bufferedJobs ) ) ); + $type = implode( ', ', array_unique( array_map( 'get_class', $this->bufferedJobs ), + SORT_STRING ) ); trigger_error( __METHOD__ . ": $n buffered job(s) of type(s) $type never inserted." ); } }