web/wp-content/plugins/caldera-forms/classes/db/tables.php
/**
	 * Find any missing Caldera Forms tables
	 *
	 * @return array
	 */
Find any missing Caldera Forms tables
@return array
Find any missing Caldera Forms tables @return array
protected function find_missing_tables(){
		$tables = $this->wpdb->get_results( "SHOW TABLES", ARRAY_A );
		$alltables = array();
		foreach ( $tables as $table ) {
			$alltables[] = implode( $table );
		}
		$missing_tables = array();
		foreach ( $this->get_tables_list()  as  $cf_table ){
			if( ! in_array( $cf_table, $alltables ) ){
				$missing_tables[] = $cf_table;
			}
		}
		return $missing_tables;
	}
protected function find_missing_tables ( ) { $ tables = $ this -> wpdb -> get_results ( " SHOW TABLES " , ARRAY_A ) ; $ alltables = array ( ) ; foreach ( $ tables as $ table ) { $ alltables [ ] = implode ( $ table ) ; } $ missing_tables = array ( ) ; foreach ( $ this -> get_tables_list ( ) as $ cf_table ) { if ( ! in_array ( $ cf_table , $ alltables ) ) { $ missing_tables [ ] = $ cf_table ; } } return $ missing_tables ; }
Find any missing Caldera Forms tables
 @return array
Find any missing Caldera Forms tables @return array