| @@ -99,11 +99,12 @@ | ||
| 99 | 99 | Database::get_log_table() => __( 'Visits Log', 'top-10' ), |
| 100 | 100 | Database::get_funnel_table() => __( 'Visits Funnel', 'top-10' ), |
| 101 | 101 | ); |
| 102 | 102 | |
| 103 | - $missing = array(); | |
| 103 | + $missing = array(); | |
| 104 | + $statuses = Database::get_table_installation_status(); | |
| 104 | 105 | foreach ( $all_tables as $table => $label ) { |
| 105 | - if ( ! Database::is_table_installed( $table ) ) { | |
| 106 | + if ( empty( $statuses[ $table ] ) ) { | |
| 106 | 107 | $missing[] = sprintf( '<code>%s</code> (%s)', esc_html( $table ), esc_html( $label ) ); |
| 107 | 108 | } |
| 108 | 109 | } |
| 109 | 110 | |