WordPress File wp-includes/ms-functions.php

update_blog_public()

Updates this blog’s ‘public’ setting in the global blogs table.