diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2015-09-22 01:08:04 -0500 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2015-11-09 16:47:31 -0800 |
| commit | 7133b592b4bd28a9aa887f716cd7dc67a8bbdc7a (patch) | |
| tree | e51b0120b40a27d7851204ac1f0aa50abf93af92 /httemplate/misc | |
| parent | 9be553c793b473f85bd4061faa6635adb21f2a08 (diff) | |
RT#37908: Convert existing email-sending code to use common interface [removals and switches to FS::Log]
Diffstat (limited to 'httemplate/misc')
| -rwxr-xr-x | httemplate/misc/delete-cust_credit.cgi | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/httemplate/misc/delete-cust_credit.cgi b/httemplate/misc/delete-cust_credit.cgi deleted file mode 100755 index 03eb47299..000000000 --- a/httemplate/misc/delete-cust_credit.cgi +++ /dev/null @@ -1,21 +0,0 @@ -% if ( $error ) { -% errorpage($error); -% } else { -<% $cgi->redirect($p. "view/cust_main.cgi?". $custnum) %> -% } -<%init> - -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Delete credit'); - -#untaint crednum -my($query) = $cgi->keywords; -$query =~ /^(\d+)$/ || die "Illegal crednum"; -my $crednum = $1; - -my $cust_credit = qsearchs('cust_credit',{'crednum'=>$crednum}); -my $custnum = $cust_credit->custnum; - -my $error = $cust_credit->delete; - -</%init> |
