X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fmisc%2Fcancel_pkg.cgi;h=7bbcf6e7f3f2ad0808d9ad9259a83399f59162c9;hb=069f8453eb624a0d4a77734aca8bc9367dbb60e6;hp=27bc277c0a84ea7c0da1313474122caca3ae0542;hpb=c116ce940c33dcd7e37a87a8eb2936e17cc68b11;p=freeside.git diff --git a/htdocs/misc/cancel_pkg.cgi b/htdocs/misc/cancel_pkg.cgi index 27bc277c0..7bbcf6e7f 100755 --- a/htdocs/misc/cancel_pkg.cgi +++ b/htdocs/misc/cancel_pkg.cgi @@ -1,12 +1,10 @@ #!/usr/bin/perl -Tw # -# $Id: cancel_pkg.cgi,v 1.4 1999-01-19 05:14:04 ivan Exp $ +# $Id: cancel_pkg.cgi,v 1.6 1999-04-08 10:35:02 ivan Exp $ # # Usage: cancel_pkg.cgi pkgnum # http://server.name/path/cancel_pkg.cgi pkgnum # -# Note: Should be run setuid freeside as user nobody -# # IT DOESN'T RUN THE APPROPRIATE PROGRAMS YET!!!! # # probably should generalize this to do cancels, suspensions, unsuspensions, etc. @@ -29,7 +27,13 @@ # bmccane@maxbaud.net 98-apr-3 # # $Log: cancel_pkg.cgi,v $ -# Revision 1.4 1999-01-19 05:14:04 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:49 ivan +# removed misleading comments +# +# Revision 1.4 1999/01/19 05:14:04 ivan # for mod_perl: no more top-level my() variables; use vars instead # also the last s/create/new/; # @@ -47,6 +51,7 @@ use CGI::Carp qw(fatalsToBrowser); use FS::UID qw(cgisuidsetup); use FS::CGI qw(eidiot popurl); use FS::Record qw(qsearchs); +use FS::CGI qw(popurl eidiot); use FS::cust_pkg; $cgi = new CGI;