]> git.gsnw.org Git - m0n0chwall.git/commitdiff
Remove the constructor at the end of RADIUS_ACCOUNTING_STOP()
authorjdegraeve <jdegraeve@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Fri, 10 Feb 2006 14:38:23 +0000 (14:38 +0000)
committerjdegraeve <jdegraeve@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Fri, 10 Feb 2006 14:38:23 +0000 (14:38 +0000)
git-svn-id: https://svn.m0n0.ch/wall/trunk@79 e36fee2c-cc09-0410-a7cc-ebac5c6737de

captiveportal/radius_accounting.inc

index 3325f8a7373f5602fa1c61093e2ada5e1444c38c..8d3accac6544c8ef2a8f115791d5aa8208c818bc 100644 (file)
@@ -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<br>\n", $retvalue['error']);
-        // If we encounter an error immediately stop this function and go back
-        $racct->close();
-        return $retvalue;
-    }
 
 }