summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-reason.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-01-19 18:24:56 -0800
committerIvan Kohler <ivan@freeside.biz>2013-01-19 18:24:56 -0800
commit57e56b312682dbca92ae1b0c994091f7da17f0b1 (patch)
treedb036e16e476aff4982b7b5f96a62e557077df98 /httemplate/elements/tr-select-reason.html
parentdc45b8bd747e8e61b4318f0b3c7be7a8be739aa9 (diff)
cleanup: remove unused $access_right var
Diffstat (limited to 'httemplate/elements/tr-select-reason.html')
-rwxr-xr-xhttemplate/elements/tr-select-reason.html5
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";