X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fmisc%2Fsusp_pkg.cgi;h=abe4f70b01044fbe7fd6a0018c52a3412113c073;hb=7613e14fd13aabb2a44bb26ca8640053f44930ea;hp=851a53f7fd90af5a5039f3db27e3e80091f771de;hpb=c116ce940c33dcd7e37a87a8eb2936e17cc68b11;p=freeside.git diff --git a/htdocs/misc/susp_pkg.cgi b/htdocs/misc/susp_pkg.cgi index 851a53f7f..abe4f70b0 100755 --- a/htdocs/misc/susp_pkg.cgi +++ b/htdocs/misc/susp_pkg.cgi @@ -1,12 +1,10 @@ #!/usr/bin/perl -Tw # -# $Id: susp_pkg.cgi,v 1.4 1999-01-19 05:14:08 ivan Exp $ +# $Id: susp_pkg.cgi,v 1.6 1999-04-08 10:35:02 ivan Exp $ # # Usage: susp_pkg.cgi pkgnum # http://server.name/path/susp_pkg.cgi pkgnum # -# Note: Should be run setuid freeside as user nobody -# # probably should generalize this to do cancels, suspensions, unsuspensions, etc. # # ivan@voicenet.com 97-feb-27 @@ -23,7 +21,13 @@ # bmccane@maxbaud.net 98-apr-3 # # $Log: susp_pkg.cgi,v $ -# Revision 1.4 1999-01-19 05:14:08 ivan +# Revision 1.6 1999-04-08 10:35:02 ivan +# import necessary subroutines from FS::CGI +# +# Revision 1.5 1999/02/28 00:03:52 ivan +# removed misleading comments +# +# Revision 1.4 1999/01/19 05:14:08 ivan # for mod_perl: no more top-level my() variables; use vars instead # also the last s/create/new/; # @@ -40,6 +44,7 @@ use CGI; use CGI::Carp qw(fatalsToBrowser); use FS::UID qw(cgisuidsetup); use FS::Record qw(qsearchs); +use FS::CGI qw(popurl eidiot); use FS::cust_pkg; $cgi = new CGI;