From: dbs Date: Mon, 22 Mar 2010 22:07:54 +0000 (+0000) Subject: Default to "true" for email notification of holds in example configuration file X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7016aff484db16409e92fea248730c79832dc9c2;p=Evergreen.git 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/branches/rel_1_6_0@15933 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example index 6d5824700e..ace20f6dc7 100644 --- a/Open-ILS/examples/opensrf.xml.example +++ b/Open-ILS/examples/opensrf.xml.example @@ -569,7 +569,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 7cb32831c2..674131695d 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; }