2
0
Fork 0
mirror of https://github.com/discourse/wp-discourse.git synced 2025-10-03 08:59:21 +08:00

Remove unnecessary unary operator

This commit is contained in:
scossar 2018-08-17 14:02:55 -07:00
parent 2be27d323d
commit f94f82650a

View file

@ -39,7 +39,7 @@ class HTMLTemplates {
protected static function new_tab() {
$comment_options = get_option( 'discourse_comment' );

return ! empty( $comment_options['discourse-new-tab'] ) ? true : false;
return ! empty( $comment_options['discourse-new-tab'] );
}

/**