Merge "Revert "JobQueueGroup: Improve failed-to-insert error""
This commit is contained in:
commit
0c712ce564
1 changed files with 1 additions and 2 deletions
|
|
@ -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." );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue