[open-ils-commits] r15935 - in trunk/Open-ILS: examples src/perlmods/OpenILS/Application/Circ (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 22 18:25:47 EDT 2010


Author: dbs
Date: 2010-03-22 18:25:41 -0400 (Mon, 22 Mar 2010)
New Revision: 15935

Modified:
   trunk/Open-ILS/examples/opensrf.xml.example
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm
Log:
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 


Modified: trunk/Open-ILS/examples/opensrf.xml.example
===================================================================
--- trunk/Open-ILS/examples/opensrf.xml.example	2010-03-22 22:24:38 UTC (rev 15934)
+++ trunk/Open-ILS/examples/opensrf.xml.example	2010-03-22 22:25:41 UTC (rev 15935)
@@ -596,7 +596,7 @@
                 </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 -->

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm	2010-03-22 22:24:38 UTC (rev 15934)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm	2010-03-22 22:25:41 UTC (rev 15935)
@@ -127,7 +127,7 @@
 
 	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 @@
 
 	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;
 	}
 



More information about the open-ils-commits mailing list