[freeside-commits] branch master updated. 57e56b312682dbca92ae1b0c994091f7da17f0b1
Ivan
ivan at 420.am
Sat Jan 19 18:25:00 PST 2013
The branch, master has been updated
via 57e56b312682dbca92ae1b0c994091f7da17f0b1 (commit)
from dc45b8bd747e8e61b4318f0b3c7be7a8be739aa9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 57e56b312682dbca92ae1b0c994091f7da17f0b1
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Jan 19 18:24:56 2013 -0800
cleanup: remove unused $access_right var
diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html
index c1df10b..9a670a2 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";
-----------------------------------------------------------------------
Summary of changes:
httemplate/elements/tr-select-reason.html | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
More information about the freeside-commits
mailing list