From 7f5dd2a6829ee416a33c3170e9e6cf712203e8bc Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 22 Mar 2010 22:25:41 +0000 Subject: [PATCH] Forward-port r15933 from rel_1_6_0: Default to "true" for email notification of holds in example configuration file Fix minor typos in HoldNotify.pm log messages git-svn-id: svn://svn.open-ils.org/ILS/trunk@15935 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/opensrf.xml.example | 2 +- Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example index 646979eba..6231ae65e 100644 --- a/Open-ILS/examples/opensrf.xml.example +++ b/Open-ILS/examples/opensrf.xml.example @@ -596,7 +596,7 @@ vim:et:ts=4:sw=4: - false + true diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm index 7cb32831c..674131695 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm @@ -127,7 +127,7 @@ sub send_email_notify { unless ($U->is_true($self->hold->email_notify)) { $self->editor->rollback; - $logger->info("hold_notify: not sending hold notification becaue email_notify is false"); + $logger->info("hold_notify: not sending hold notification because email_notify is false"); return 0; } @@ -145,7 +145,7 @@ sub send_email_notify { unless( $str ) { $self->editor->rollback; - $logger->error("hold_notify: No email notifiy template found - cannot notify"); + $logger->error("hold_notify: No email notify template found - cannot notify"); return 0; } -- 2.11.0