From 301d6f0c17f146c63a98ceccd829d45ee05cd435 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 1 Apr 2016 17:52:51 +0200 Subject: [PATCH] whitespace --- .../OPNsense/CaptivePortal/process_accounting_messages.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php b/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php index e7de359a7..aab428cf3 100755 --- a/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php +++ b/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php @@ -80,7 +80,6 @@ if ($result !== false) { $stmt->bindParam(':sessionid', $row['sessionid']); $stmt->execute(); if (method_exists($authenticator,'startAccounting')) { - $time_spend = time() - $row['created']; $authenticator->stopAccounting($row['username'], $row['sessionid'], $time_spend); }