[open-ils-commits] [GIT] Evergreen ILS branch master updated. cbf389d42138d18990539a6281be191d8dc6dee2
Evergreen Git
git at git.evergreen-ils.org
Fri Oct 12 15:43:34 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, master has been updated
via cbf389d42138d18990539a6281be191d8dc6dee2 (commit)
via 22b5e8c1c6f06479af2fddf8fc69e09331073248 (commit)
from e8dcb2de62179fc924b340ba3230ce5bd4092c42 (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 cbf389d42138d18990539a6281be191d8dc6dee2
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 22b5e8c1c6f06479af2fddf8fc69e09331073248
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