From 57e56b312682dbca92ae1b0c994091f7da17f0b1 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 19 Jan 2013 18:24:56 -0800 Subject: [PATCH] cleanup: remove unused $access_right var --- httemplate/elements/tr-select-reason.html | 5 +---- 1 file changed, 1 insertion(+), 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"; -- 2.11.0