summaryrefslogtreecommitdiff
path: root/httemplate/misc/unsusp_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/unsusp_pkg.cgi')
-rwxr-xr-xhttemplate/misc/unsusp_pkg.cgi20
1 files changed, 0 insertions, 20 deletions
diff --git a/httemplate/misc/unsusp_pkg.cgi b/httemplate/misc/unsusp_pkg.cgi
deleted file mode 100755
index b350693..0000000
--- a/httemplate/misc/unsusp_pkg.cgi
+++ /dev/null
@@ -1,20 +0,0 @@
-%if ( $error ) {
-% errorpage($error);
-%} else {
-<% $cgi->redirect(popurl(2). "view/cust_main.cgi?".$cust_pkg->getfield('custnum')) %>
-%}
-<%init>
-
-die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Unsuspend customer package');
-
-#untaint pkgnum
-my ($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal pkgnum";
-my $pkgnum = $1;
-
-my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-
-my $error = $cust_pkg->unsuspend;
-
-</%init>