making new 'renew' method the official one
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Feb 2006 18:14:04 +0000 (18:14 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Feb 2006 18:14:04 +0000 (18:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3007 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/support-scripts/test-scripts/checkout.pl

index 74159ff..fa98768 100644 (file)
@@ -916,7 +916,7 @@ sub _update_checkin_circ_and_copy {
 
 __PACKAGE__->register_method(
        method  => "renew",
-       api_name        => "open-ils.circ.renew_",
+       api_name        => "open-ils.circ.renew",
        notes           => <<"  NOTES");
        PARAMS( authtoken, circ => circ_id );
        open-ils.circ.renew(login_session, circ_object);
index f1a248e..e7247b3 100755 (executable)
@@ -117,7 +117,7 @@ sub do_renew {
        my $args = { patron => $patronid, barcode => $barcode };
        my $t = time();
        my $resp = simplereq( 
-               CIRC(), 'open-ils.circ.renew_', $authtoken, $args );
+               CIRC(), 'open-ils.circ.renew', $authtoken, $args );
        my $e = time() - $t;
        oils_event_die($resp);
        printl("Renewal succeeded\nTime: $t");