database code cleanup, See #12362

git-svn-id: https://develop.svn.wordpress.org/trunk@13387 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick
2010-02-24 21:30:13 +00:00
parent b2e6817220
commit fcabf2c9df
2 changed files with 13 additions and 12 deletions

View File

@@ -115,7 +115,7 @@ if ( ! $blog_id ) {
}
}
$wpdb->set_prefix( $table_prefix ); // set up blog tables
$wpdb->set_prefix( $table_prefix, false ); // set DB table prefix
$wpdb->set_blog_id( $current_blog->blog_id, $current_blog->site_id );
$table_prefix = $wpdb->get_blog_prefix();