Networks and Sites: Remove unused `$wpdb` global in `update_blog_details()`.

Follow-up to [43548].

Props viralsampat.
See #60021.
Built from https://develop.svn.wordpress.org/trunk@57898


git-svn-id: http://core.svn.wordpress.org/trunk@57399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-03-29 11:42:13 +00:00
parent 11dfccd894
commit 1dc3f87870
2 changed files with 1 additions and 5 deletions

View File

@ -293,15 +293,11 @@ function refresh_blog_details( $blog_id = 0 ) {
* *
* @since MU (3.0.0) * @since MU (3.0.0)
* *
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int $blog_id Blog ID. * @param int $blog_id Blog ID.
* @param array $details Array of details keyed by blogs table field names. * @param array $details Array of details keyed by blogs table field names.
* @return bool True if update succeeds, false otherwise. * @return bool True if update succeeds, false otherwise.
*/ */
function update_blog_details( $blog_id, $details = array() ) { function update_blog_details( $blog_id, $details = array() ) {
global $wpdb;
if ( empty( $details ) ) { if ( empty( $details ) ) {
return false; return false;
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.6-alpha-57897'; $wp_version = '6.6-alpha-57898';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.