remove some unnecessary debug statements
This commit is contained in:
@@ -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()));
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user