remove redundant check
This commit is contained in:
parent
ea844ee942
commit
30f9b79bbf
1 changed files with 0 additions and 2 deletions
|
@ -297,8 +297,6 @@ class Factory {
|
|||
} else {
|
||||
return self::get_default_transformer( $object );
|
||||
}
|
||||
case 'WP_Comment':
|
||||
return new Comment( $object );
|
||||
default:
|
||||
self::get_default_transformer( $object );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue