[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. dd646c9a28910c4b5319d7ce149b5c955e52cec5
Evergreen Git
git at git.evergreen-ils.org
Fri Oct 12 15:45:44 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_2 has been updated
via dd646c9a28910c4b5319d7ce149b5c955e52cec5 (commit)
via 97d8f94f37e2f57e2b4cf448c201bd3b996392c4 (commit)
from bda6a467b549e103f87efbfab9c87e94170bf5ec (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 dd646c9a28910c4b5319d7ce149b5c955e52cec5
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 97d8f94f37e2f57e2b4cf448c201bd3b996392c4
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