diff options
| author | cvs2git <cvs2git> | 2008-03-16 19:58:34 +0000 |
|---|---|---|
| committer | cvs2git <cvs2git> | 2008-03-16 19:58:34 +0000 |
| commit | eb061f5119325e666f0dff40d4089e5c1df58e17 (patch) | |
| tree | d55e8fef5aca62eb13bbc8ad20dbdf941c3bd266 /httemplate/edit/process/svc_acct_pop.cgi | |
| parent | 3a17b276638200475d54201fa62566b7440e819a (diff) | |
This commit was manufactured by cvs2svn to create tag 'TRIXBOX_2_6'.TRIXBOX_2_6
Diffstat (limited to 'httemplate/edit/process/svc_acct_pop.cgi')
| -rwxr-xr-x | httemplate/edit/process/svc_acct_pop.cgi | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/httemplate/edit/process/svc_acct_pop.cgi b/httemplate/edit/process/svc_acct_pop.cgi deleted file mode 100755 index 75b89c88f..000000000 --- a/httemplate/edit/process/svc_acct_pop.cgi +++ /dev/null @@ -1,30 +0,0 @@ -%if ( $error ) { -% $cgi->param('error', $error); -<% $cgi->redirect(popurl(2). "svc_acct_pop.cgi?". $cgi->query_string ) %> -%} else { -<% $cgi->redirect(popurl(3). "browse/svc_acct_pop.cgi") %> -%} -<%init> - -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); - -my $popnum = $cgi->param('popnum'); - -my $old = qsearchs('svc_acct_pop',{'popnum'=>$popnum}) if $popnum; - -my $new = new FS::svc_acct_pop ( { - map { - $_, scalar($cgi->param($_)); - } fields('svc_acct_pop') -} ); - -my $error = ''; -if ( $popnum ) { - $error = $new->replace($old); -} else { - $error = $new->insert; - $popnum=$new->getfield('popnum'); -} - -</%init> |
