Merge "Revert "JobQueueGroup: Improve failed-to-insert error""

This commit is contained in:
Chad 2018-02-23 08:05:41 +00:00 committed by Gerrit Code Review
commit 0c712ce564

View file

@ -468,8 +468,7 @@ class JobQueueGroup {
function __destruct() {
$n = count( $this->bufferedJobs );
if ( $n > 0 ) {
$type = implode( ', ', array_unique( array_map( 'get_class', $this->bufferedJobs ),
SORT_STRING ) );
$type = implode( ', ', array_unique( array_map( 'get_class', $this->bufferedJobs ) ) );
trigger_error( __METHOD__ . ": $n buffered job(s) of type(s) $type never inserted." );
}
}