From 58d486dea9eb75588a6760074c58f2a4a9e92851 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 18 Jun 2018 06:18:08 +1000 Subject: [PATCH] remove debugging --- README.md | 2 +- booking.emails.inc | 2 +- booking.studygroup_leaders.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e5bec42..96a2fd1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Drupal 7 module for managing event bookings. +Drupal 7 module for managing event bookings. Originally designed for use with the biennial Christadelphian event known as Study Week. ## Pre-installation Before installation, download and install the following pre-requisite modules: diff --git a/booking.emails.inc b/booking.emails.inc index 522d27f..72f783b 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -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); } } diff --git a/booking.studygroup_leaders.inc b/booking.studygroup_leaders.inc index d7da017..b48996d 100644 --- a/booking.studygroup_leaders.inc +++ b/booking.studygroup_leaders.inc @@ -474,7 +474,7 @@ function booking_studygroup_leadhelp_edit_form_submit($form, &$form_state) { booking_studygroups_process_colours(); } - $final_message = "Made $counter updates leader/helper roles for study group id $group_id. Changing one person to another counts as two updates."; + $final_message = "Made $counter update(s) to leader/helper roles for study group id $group_id. Changing one person to another counts as two updates."; drupal_set_message($final_message, 'status', FALSE); watchdog('booking', "
" . $final_message . "\n" . implode("\n", $update_messages) . "
"); }