From 1c9abd21ca1511c6e7f9aac433e2f57bf6008d64 Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 25 Oct 2011 16:08:24 +0000 Subject: [PATCH] Use correct object. props adambackstrom. fixes #19045. git-svn-id: http://svn.automattic.com/wordpress/trunk@19066 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 41aeb71485..50f50ddc53 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -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, '>=' );