no more debug

This commit is contained in:
Nathan Coad
2019-09-17 16:30:12 +10:00
parent e8673e423e
commit 4d5fa31fc8
2 changed files with 6 additions and 6 deletions

View File

@@ -467,8 +467,8 @@ function booking_update($node) {
$data['booking_firstname'] = _booking_ucname($data['booking_firstname']);
$data['booking_lastname'] = _booking_ucname($data['booking_lastname']);
watchdog('booking', '<pre>Old node:\n@info</pre>', array('@info' => var_export($node, TRUE)));
watchdog('booking', 'Updating node: @info', array('@info' => var_export($data, TRUE)));
//watchdog('booking_debug', "<pre>Old node:\n@info</pre>", array('@info' => var_export($node, TRUE)));
watchdog('booking_debug', 'Updating node: @info', array('@info' => var_export($data, TRUE)));
db_update('booking_person')->fields($data)->condition('nid', $node->nid)->execute();
/*
//watchdog('booking', 'Updating node: @info', array('@info' => var_export($node, TRUE)));