public function addUsersToNewBlogCron($blogId)
    {
        set_time_limit(60*60*60);

        global $wpdb;
        $users = $wpdb->get_results("SELECT ID FROM $wpdb->users");

        foreach ($users as $user) {
            $this->addDefaultRole($user->ID, $blogId);
        }
    }
public function addUsersToNewBlogCron($blogId)
    {
        set_time_limit(60*60*60);

        global $wpdb;
        $users = $wpdb->get_results("SELECT ID FROM $wpdb->users");

        foreach ($users as $user) {
            $this->addDefaultRole($user->ID, $blogId);
        }
    }
public function addUsersToNewBlogCron ( $ blogId ) { set_time_limit ( 60 * 60 * 60 ) ; global $ wpdb ; $ users = $ wpdb -> get_results ( "SELECT ID FROM $wpdb->users" ) ; foreach ( $ users as $ user ) { $ this -> addDefaultRole ( $ user -> ID , $ blogId ) ; } }
Propagate users to new blog
@return void
Propagate users to new blog