summaryrefslogtreecommitdiff
path: root/httemplate/misc/cancel_cust.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/cancel_cust.html')
-rw-r--r--httemplate/misc/cancel_cust.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/httemplate/misc/cancel_cust.html b/httemplate/misc/cancel_cust.html
index 5c2e03677..12c37ebe2 100644
--- a/httemplate/misc/cancel_cust.html
+++ b/httemplate/misc/cancel_cust.html
@@ -34,16 +34,9 @@
<%init>
-my $reasonnum = '';
-my($submit, $class);
-
$cgi->param('custnum') =~ /^(\d+)$/ or die 'illegal custnum';
my $custnum = $1;
-if ( $cgi->param('error') ) {
- $reasonnum = $cgi->param('reasonnum');
-}
-
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied" unless $curuser->access_right('Cancel customer');