remove debugging
This commit is contained in:
@@ -356,7 +356,7 @@ function _booking_custom_email($nid, $email_type, $sender = 'contact', $attachme
|
||||
$file_uri = drupal_realpath($attachment->uri);
|
||||
// Make sure we can still access the file
|
||||
if (file_exists($file_uri) && fopen($file_uri, 'r') !== false) {
|
||||
watchdog('booking_debug', "Adding attachment !name to custom email.", array('!name' => $attachment->filename));
|
||||
//watchdog('booking_debug', "Adding attachment !name to custom email.", array('!name' => $attachment->filename));
|
||||
$params['attachment'] = file_load($attachment->fid);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user