From 2e64a3721bda7fb8350d66332c9caef977a5e402 Mon Sep 17 00:00:00 2001 From: jdegraeve Date: Fri, 10 Feb 2006 14:38:23 +0000 Subject: [PATCH] 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 --- captiveportal/radius_accounting.inc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) 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; - } } -- 2.25.1