Codex tools: Log in
Update this blog's 'public' setting in the global blogs table.
Public blogs have a setting of 1, private blogs are 0.
<?php update_blog_public( $unused, $value ); ?>
update_blog_public() is located in wp-includes/ms-functions.php
wp-includes/ms-functions.php