[open-ils-commits] r11500 - trunk/Open-ILS/src/perlmods/OpenILS/WWW
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 10 12:43:43 EST 2008
Author: erickson
Date: 2008-12-10 12:43:40 -0500 (Wed, 10 Dec 2008)
New Revision: 11500
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm
Log:
use public open-ils.actor method in lieu of private storage method
Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm 2008-12-10 17:43:15 UTC (rev 11499)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/Redirect.pm 2008-12-10 17:43:40 UTC (rev 11500)
@@ -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