Skip to content

Commit a560473

Browse files
committed
Schema: Remove unused variable for network existence check
1 parent cc19ca7 commit a560473

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/wp-admin/includes/schema.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,6 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam
10331033
}
10341034

10351035
// Check for network collision.
1036-
$network_exists = false;
10371036
if ( is_multisite() ) {
10381037
if ( get_network( $network_id ) ) {
10391038
$errors->add( 'siteid_exists', __( 'The network already exists.' ) );

0 commit comments

Comments
 (0)