From: jdegraeve Date: Fri, 10 Feb 2006 14:38:23 +0000 (+0000) Subject: Remove the constructor at the end of RADIUS_ACCOUNTING_STOP() X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e64a3721bda7fb8350d66332c9caef977a5e402;p=m0n0chwall.git Remove the constructor at the end of RADIUS_ACCOUNTING_STOP() git-svn-id: https://svn.m0n0.ch/wall/trunk@79 e36fee2c-cc09-0410-a7cc-ebac5c6737de --- diff --git a/captiveportal/radius_accounting.inc b/captiveportal/radius_accounting.inc index 3325f8a..8d3acca 100644 --- a/captiveportal/radius_accounting.inc +++ b/captiveportal/radius_accounting.inc @@ -38,7 +38,7 @@ */ -/*tm0664rr +/* RADIUS ACCOUNTING START ----------------------- */ @@ -265,19 +265,6 @@ function RADIUS_ACCOUNTING_STOP($ruleno,$username,$sessionid,$start_time,$radius $racct->close(); return $retvalue; - // Construct data package - $racct->addServer($radiusip, $radiusport, $radiuskey); - $racct->username = $username; - - if (PEAR::isError($racct->start())) { - $retvalue['acct_val'] = 1; - $retvalue['error'] = $racct->getMessage(); - if ($debug) - printf("Radius start: %s
\n", $retvalue['error']); - // If we encounter an error immediately stop this function and go back - $racct->close(); - return $retvalue; - } }