public static function cloneDB() { // Don't do this too often if( ! self::$bCloned ) { self::copyFromLive( 'blogs' ); self::copyFromLive( 'blog_versions' ); self::copyFromLive( 'commentmeta' ); self::copyFromLive( 'comments' ); self::copyFromLive( 'links' ); self::copyFromLive( 'options' ); self::copyFromLive( 'postmeta' ); self::copyFromLive( 'posts' ); self::copyFromLive( 'pro_sites' ); self::copyFromLive( 'pro_sites_daily_stats' ); self::copyFromLive( 'pro_sites_signup_stats' ); self::copyFromLive( 'registration_log' ); self::copyFromLive( 'signups' ); self::copyFromLive( 'site' ); self::copyFromLive( 'sitemeta' ); self::copyFromLive( 'terms' ); self::copyFromLive( 'term_relationships' ); self::copyFromLive( 'term_taxonomy' ); self::copyFromLive( 'usermeta' ); self::copyFromLive( 'users' ); } self::$bCloned = true; }