WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/19/2010 09:15:00 PM (12 years ago)
Author:
nacin
Message:

Remove unnecessary ternary operators such as (expr) ? true : false.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r13696 r13769  
    7676function display_setup_form( $error = null ) {
    7777    global $wpdb;
    78     $user_table = ( $wpdb->get_var("SHOW TABLES LIKE '$wpdb->users'") != null ) ? true : false;
     78    $user_table = ( $wpdb->get_var("SHOW TABLES LIKE '$wpdb->users'") != null );
    7979
    8080    // Ensure that Blogs appear in search engines by default
Note: See TracChangeset for help on using the changeset viewer.