Revert "JobQueueGroup: Improve failed-to-insert error"
[lhc/web/wiklou.git] / includes / jobqueue / JobQueueGroup.php
index 21f09e5..addc7fc 100644 (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." );
                }
        }