### Eclipse Workspace Patch 1.0
#P wordpress-trunk
|
|
|
1787 | 1787 | // Loop over the WP tables. If none exist, then scratch install is allowed. |
1788 | 1788 | // If one or more exist, suggest table repair since we got here because the options |
1789 | 1789 | // table could not be accessed. |
1790 | | foreach ($wpdb->tables as $table) { |
| 1790 | foreach ( $wpdb->get_tables( 'all' ) as $table ) { |
1791 | 1791 | // If one of the WP tables exist, then we are in an insane state. |
1792 | 1792 | if ( in_array($wpdb->prefix . $table, $tables) ) { |
1793 | 1793 | // If visiting repair.php, return true and let it take over. |