Skip to content

Commit 299c02d

Browse files
committed
Networks and Sites: Remove unused variable in populate_networks().
This commit simply removes a `$network_exists` variable (introduced in r41384) that was never used. Props mukesh27, Soean. Fixes #64851. git-svn-id: https://develop.svn.wordpress.org/trunk@61992 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 5ac61f4 commit 299c02d

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)