Forward-port r15933 from rel_1_6_0: Default to "true" for email notification of holds...
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Mar 2010 22:25:41 +0000 (22:25 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Mar 2010 22:25:41 +0000 (22:25 +0000)
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
Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm

index 646979e..6231ae6 100644 (file)
@@ -596,7 +596,7 @@ vim:et:ts=4:sw=4:
                 </unix_config>
                 <app_settings>
                     <notify_hold>
-                        <email>false</email> <!-- set to true for hold notice emails -->
+                        <email>true</email> <!-- set to false to disable hold notice emails -->
                     </notify_hold>
 
                     <!-- circulation policy scripts -->
index 7cb3283..6741316 100644 (file)
@@ -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;
        }