tidy up sqlview error handling

This commit is contained in:
2016-06-01 22:17:05 +10:00
parent 2d21af7d2f
commit 243a7691b6
2 changed files with 1 additions and 4 deletions

View File

@@ -1317,9 +1317,6 @@ function _booking_paypal_form_builder($node, &$form_state, $person, $invoiceid,
* This will be used to select which fields to import/export to/from a CSV
*/
function _booking_get_person_fields() {
//@todo check if the view exists and only call this if necessary
_booking_node_create_mysqlview();
$list_of_columns = array();
$query = db_query('SHOW COLUMNS FROM {booking_person_view}');
$result = $query->fetchAll();