remove some unnecessary debug statements

This commit is contained in:
2016-06-01 22:32:09 +10:00
parent deed7bfb5f
commit 66b71fc8ab
2 changed files with 2 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ function booking_admin()
//create the mysql view booking_person_view if necessary
try {
$sqlview_check = db_query("SELECT 1 FROM {booking_person_view}")->fetchAssoc();
watchdog('booking_debug', "<pre>SQL View booking_person_view check\n@info</pre>", array('@info' => print_r( $sqlview_check, true)));
//watchdog('booking_debug', "<pre>SQL View booking_person_view check\n@info</pre>", array('@info' => print_r( $sqlview_check, true)));
}
catch (Exception $e) {
watchdog('booking_debug', "<pre>SQL View booking_person_view check does not exist\n@info</pre>", array('@info' => $e->getMessage()));

View File

@@ -1322,12 +1322,11 @@ function _booking_get_person_fields() {
$result = $query->fetchAll();
foreach ($result as $column) {
//watchdog('booking_debug', "<pre>Database column for booking_person\n@info</pre>", array('@info' => print_r( $column, true)));
$field = $column->Field;
$list_of_columns[$field] = $field;
}
watchdog('booking_debug', "<pre>Database columns for booking_person\n@info</pre>", array('@info' => print_r( $list_of_columns, true)));
//watchdog('booking_debug', "<pre>Database columns for booking_person\n@info</pre>", array('@info' => print_r( $list_of_columns, true)));
return $list_of_columns;
}