[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 3d12351fdf70f702df05dafeff0b860e25a89c34
Evergreen Git
git at git.evergreen-ils.org
Fri Oct 12 15:44:37 EDT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_3 has been updated
via 3d12351fdf70f702df05dafeff0b860e25a89c34 (commit)
via 8b8e973310638da48d9ac92ee636e4ee6a51fe43 (commit)
from 239e70e2256b52bcb2d4dd32fa310c5e77b98e6e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3d12351fdf70f702df05dafeff0b860e25a89c34
Author: Galen Charlton <gmc at esilibrary.com>
Date: Fri Oct 12 15:38:59 2012 -0400
trivial whitespace cleanup
Locally consistent, globally all over the map in this file.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
index 8fa6c44..b0c9af2 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
@@ -33,7 +33,7 @@ sub juv_to_adult {
UPDATE actor.usr
SET juvenile = FALSE
WHERE AGE(dob) > ?::INTERVAL
- AND juvenile IS TRUE;
+ AND juvenile IS TRUE;
SQL
my $sth = actor::user->db_Main->prepare_cached($sql);
commit 8b8e973310638da48d9ac92ee636e4ee6a51fe43
Author: Chris Sharp <csharp at georgialibraries.org>
Date: Thu Oct 11 19:33:16 2012 -0400
Adding a WHERE clause to prevent timeout of juv-to-adult function
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
index d41dfcc..8fa6c44 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
@@ -32,7 +32,8 @@ sub juv_to_adult {
my $sql = <<" SQL";
UPDATE actor.usr
SET juvenile = FALSE
- WHERE AGE(dob) > ?::INTERVAL;
+ WHERE AGE(dob) > ?::INTERVAL
+ AND juvenile IS TRUE;
SQL
my $sth = actor::user->db_Main->prepare_cached($sql);
-----------------------------------------------------------------------
Summary of changes:
.../OpenILS/Application/Storage/Publisher/actor.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list