Make WordPress Core

Changeset 19066


Ignore:
Timestamp:
10/25/2011 04:08:24 PM (13 years ago)
Author:
nacin
Message:

Use correct object. props adambackstrom. fixes #19045.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update-core.php

    r19060 r19066  
    338338    $wp_version = '3.3';
    339339    $php_compat     = version_compare( $php_version, $required_php_version, '>=' );
    340     if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $this->is_mysql ) )
     340    if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
    341341        $mysql_compat = true;
    342342    else
Note: See TracChangeset for help on using the changeset viewer.