diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-01-19 18:24:56 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-01-19 18:24:56 -0800 |
commit | 57e56b312682dbca92ae1b0c994091f7da17f0b1 (patch) | |
tree | db036e16e476aff4982b7b5f96a62e557077df98 /httemplate/elements/tr-select-reason.html | |
parent | dc45b8bd747e8e61b4318f0b3c7be7a8be739aa9 (diff) |
cleanup: remove unused $access_right var
Diffstat (limited to 'httemplate/elements/tr-select-reason.html')
-rwxr-xr-x | httemplate/elements/tr-select-reason.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html index c1df10b94..9a670a26b 100755 --- a/httemplate/elements/tr-select-reason.html +++ b/httemplate/elements/tr-select-reason.html @@ -154,15 +154,12 @@ my $controlledbutton = $opt{'control_button'}; my $id = $opt{'id'} || $func_suffix; -my( $add_access_right, $access_right ); +my $add_access_right; if ($class eq 'C') { - $access_right = 'Cancel customer'; $add_access_right = 'Add on-the-fly cancel reason'; } elsif ($class eq 'S') { - $access_right = 'Suspend customer package'; $add_access_right = 'Add on-the-fly suspend reason'; } elsif ($class eq 'R') { - $access_right = 'Post credit'; $add_access_right = 'Add on-the-fly credit reason'; } else { die "illegal class: $class"; |