diff options
author | ivan <ivan> | 2008-01-13 21:44:01 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-01-13 21:44:01 +0000 |
commit | 4c0e9a40ca26f3c55e8a6b2bf0d0458c57eb1e76 (patch) | |
tree | f5c35e1e7902204e29051197c67d4ce72b7183f9 /httemplate | |
parent | 12f5c0d0824f8eefaa107ed3ea5e6503950968a6 (diff) |
new ACL name in 1.9 right away
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/cust_bill_pay.cgi | 3 | ||||
-rwxr-xr-x | httemplate/edit/cust_credit_bill.cgi | 3 | ||||
-rwxr-xr-x | httemplate/edit/process/cust_bill_pay.cgi | 3 | ||||
-rwxr-xr-x | httemplate/edit/process/cust_credit_bill.cgi | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/httemplate/edit/cust_bill_pay.cgi b/httemplate/edit/cust_bill_pay.cgi index 28c14618f..b6a064768 100755 --- a/httemplate/edit/cust_bill_pay.cgi +++ b/httemplate/edit/cust_bill_pay.cgi @@ -53,8 +53,7 @@ function changed(what) { <%init> die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Apply payment') #; - || $FS::CurrentUser::CurrentUser->access_right('Post payment'): #remove after 1.7.3 + unless $FS::CurrentUser::CurrentUser->access_right('Apply payment'); my($paynum, $amount, $invnum); if ( $cgi->param('error') ) { diff --git a/httemplate/edit/cust_credit_bill.cgi b/httemplate/edit/cust_credit_bill.cgi index 43ba4fb7e..59a74b279 100755 --- a/httemplate/edit/cust_credit_bill.cgi +++ b/httemplate/edit/cust_credit_bill.cgi @@ -55,8 +55,7 @@ function changed(what) { <%init> die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Apply credit') #; - || $FS::CurrentUser::CurrentUser->access_right('Post credit'): #remove after 1.7.3 + unless $FS::CurrentUser::CurrentUser->access_right('Apply credit'); my($crednum, $amount, $invnum); if ( $cgi->param('error') ) { diff --git a/httemplate/edit/process/cust_bill_pay.cgi b/httemplate/edit/process/cust_bill_pay.cgi index 43e672647..e2f89f197 100755 --- a/httemplate/edit/process/cust_bill_pay.cgi +++ b/httemplate/edit/process/cust_bill_pay.cgi @@ -12,8 +12,7 @@ <%init> die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Apply payment') #; - || $FS::CurrentUser::CurrentUser->access_right('Post payment'): #remove after 1.7.3 + unless $FS::CurrentUser::CurrentUser->access_right('Apply payment'); $cgi->param('paynum') =~ /^(\d*)$/ or die "Illegal paynum!"; my $paynum = $1; diff --git a/httemplate/edit/process/cust_credit_bill.cgi b/httemplate/edit/process/cust_credit_bill.cgi index 74ae00888..17f9fcb35 100755 --- a/httemplate/edit/process/cust_credit_bill.cgi +++ b/httemplate/edit/process/cust_credit_bill.cgi @@ -12,8 +12,7 @@ <%init> die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Apply credit') #; - || $FS::CurrentUser::CurrentUser->access_right('Post credit'): #remove after 1.7.3 + unless $FS::CurrentUser::CurrentUser->access_right('Apply credit'); $cgi->param('crednum') =~ /^(\d*)$/ or die "Illegal crednum!"; my $crednum = $1; |