[freeside-commits]
freeside/FS/bin freeside-selfservice-server, 1.20, 1.21
Ivan,,,
ivan at wavetail.420.am
Sat Feb 24 19:08:12 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail:/tmp/cvs-serv7647/bin
Modified Files:
freeside-selfservice-server
Log Message:
add selfservice-ignore_quantity flag
Index: freeside-selfservice-server
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-selfservice-server,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- freeside-selfservice-server 15 Dec 2006 00:28:46 -0000 1.20
+++ freeside-selfservice-server 25 Feb 2007 03:08:10 -0000 1.21
@@ -16,8 +16,7 @@
use FS::ClientAPI;
use FS::Conf;
-use FS::cust_bill;
-use FS::cust_pkg;
+use FS::cust_svc;
$FREESIDE_LOG = "%%%FREESIDE_LOG%%%";
$FREESIDE_LOCK = "%%%FREESIDE_LOCK%%%";
@@ -58,6 +57,10 @@
daemonize2();
my $conf = new FS::Conf;
+if ( $conf->exists('selfservice-ignore_quantity') ) {
+ $FS::cust_svc::ignore_quantity = 1;
+ $FS::cust_svc::ignore_quantity = 1; #now it is used twice.
+}
my $clientd = "/usr/local/sbin/freeside-selfservice-clientd"; #better name?
More information about the freeside-commits
mailing list