[open-ils-commits] r11499 - branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/WWW
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 10 12:43:18 EST 2008
Author: erickson
Date: 2008-12-10 12:43:15 -0500 (Wed, 10 Dec 2008)
New Revision: 11499
Modified:
branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm
Log:
use public open-ils.actor method in lieu of private storage method
Modified: branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm
===================================================================
--- branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm 2008-12-10 16:30:49 UTC (rev 11498)
+++ branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm 2008-12-10 17:43:15 UTC (rev 11499)
@@ -71,10 +71,10 @@
if(my $shortname = redirect_libs($user_ip)) {
$logger->info("Apache redirecting $user_ip to $shortname");
- my $session = OpenSRF::AppSession->create("open-ils.storage");
+ my $session = OpenSRF::AppSession->create("open-ils.actor");
my $org = $session->request(
- "open-ils.storage.direct.actor.org_unit.search.shortname",
+ 'open-ils.actor.org_unit.retrieve_by_shorname',
$shortname)->gather(1);
if($org) { $url .= "?ol=" . $org->id; }
More information about the open-ils-commits
mailing list