diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-10-07 00:14:21 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-10-07 00:14:21 (GMT) |
commit | fdb8d0f78ad94dbaa352c6bb096cbf63863dfe7d (patch) | |
tree | 6443d650cdba451324eec2a81dfdf2d8a1f3cd9c /lib | |
parent | ddcb9685d9ab3c59cabfdd69614315af668435ec (diff) |
minor refactoring
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/RHRD/rddb.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/RHRD/rddb.pm b/lib/RHRD/rddb.pm index 6730127..1064505 100755 --- a/lib/RHRD/rddb.pm +++ b/lib/RHRD/rddb.pm @@ -604,7 +604,7 @@ sub check_group return (0, 'OK', "group '" . $groupname . "' does not exist"); } -sub get_group_carts +sub get_group_cart_range { my ($ctx, $groupname) = @_; @@ -623,7 +623,7 @@ sub get_group_carts return ($low_cart, $high_cart, $cart_type, $enforce_cart_range); } -sub set_group_carts +sub set_group_cart_range { my ($ctx, $groupname, $low_cart, $high_cart, $cart_type, $enforce_cart_range) = @_; if(!defined $low_cart) { @@ -1069,7 +1069,7 @@ sub get_next_free_showid { my ($ctx) = @_; - my ($low, $high, $type, undef) = RHRD::rddb::get_group_carts($ctx, $ctx->{'config'}{'specialgroups'}{'shows'}); + my ($low, $high, $type, undef) = RHRD::rddb::get_group_cart_range($ctx, $ctx->{'config'}{'specialgroups'}{'shows'}); unless(defined $low) { return (undef, $high, $type); } |