summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/expire_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/process/expire_pkg.cgi')
-rwxr-xr-xhttemplate/misc/process/expire_pkg.cgi26
1 files changed, 0 insertions, 26 deletions
diff --git a/httemplate/misc/process/expire_pkg.cgi b/httemplate/misc/process/expire_pkg.cgi
deleted file mode 100755
index d1963e2f5..000000000
--- a/httemplate/misc/process/expire_pkg.cgi
+++ /dev/null
@@ -1,26 +0,0 @@
-%
-%
-%#untaint date & pkgnum
-%
-%my $date;
-%if ( $cgi->param('date') ) {
-% str2time($cgi->param('date')) =~ /^(\d+)$/ or die "Illegal date";
-% $date=$1;
-%} else {
-% $date='';
-%}
-%
-%$cgi->param('pkgnum') =~ /^(\d+)$/ or die "Illegal pkgnum";
-%my $pkgnum = $1;
-%
-%my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-%my %hash = $cust_pkg->hash;
-%$hash{expire}=$date;
-%my $new = new FS::cust_pkg ( \%hash );
-%my $error = $new->replace($cust_pkg);
-%&eidiot($error) if $error;
-%
-%print $cgi->redirect(popurl(3). "view/cust_main.cgi?".$cust_pkg->getfield('custnum'));
-%
-%
-