[freeside-commits] freeside/FS/bin freeside-selfservice-xmlrpcd, 1.1.2.8, 1.1.2.9
Ivan,,,
ivan at wavetail.420.am
Mon Jun 21 18:26:03 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv31701
Modified Files:
Tag: FREESIDE_1_9_BRANCH
freeside-selfservice-xmlrpcd
Log Message:
fix (probably harmless) "DBD::Pg::db disconnect failed: server closed the connection unexpectedly" warning, RT#7780
Index: freeside-selfservice-xmlrpcd
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-selfservice-xmlrpcd,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -w -d -r1.1.2.8 -r1.1.2.9
--- freeside-selfservice-xmlrpcd 17 Jun 2010 17:19:49 -0000 1.1.2.8
+++ freeside-selfservice-xmlrpcd 22 Jun 2010 01:26:01 -0000 1.1.2.9
@@ -24,7 +24,7 @@
use XMLRPC::Lite; # for XMLRPC::Serializer
use FS::Daemon qw(daemonize1 drop_root logfile daemonize2 );
-use FS::UID qw(adminsuidsetup);
+use FS::UID qw(adminsuidsetup forksuidsetup);
use FS::Conf;
use FS::ClientAPI;
use FS::ClientAPI_XMLRPC; #FS::SelfService::XMLRPC;
@@ -307,12 +307,10 @@
#expects to be in place. aka "kid time" in freeside-selfservice-server
sub freeside_kid_time {
- #if we need a db connection in the parent
+ #we did need a db connection in the parent, so
##get new db handle
- #$FS::UID::dbh->{InactiveDestroy} = 1;
- #forksuidsetup($user);
-
- adminsuidsetup($user);
+ $FS::UID::dbh->{InactiveDestroy} = 1;
+ forksuidsetup($user);
#i guess that was it
}
More information about the freeside-commits
mailing list