Use correct object. props adambackstrom. fixes #19045.

git-svn-id: https://develop.svn.wordpress.org/trunk@19066 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-10-25 16:08:24 +00:00
parent 95eff833c8
commit b7b6a7e5ae
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ function update_core($from, $to) {
$required_mysql_version = '5.0';
$wp_version = '3.3';
$php_compat = version_compare( $php_version, $required_php_version, '>=' );
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $this->is_mysql ) )
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
$mysql_compat = true;
else
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' );