From ef4860945b60e7ed3ebce1fe086dc50199eb826b Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 1 Dec 2015 19:02:56 +0000 Subject: [PATCH] (captiveportal, new) coding style --- .../OPNsense/CaptivePortal/process_accounting_messages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php b/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php index 388cf90ac..fae700f13 100755 --- a/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php +++ b/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php @@ -30,7 +30,7 @@ require_once('script/load_phalcon.php'); -use OPNsense\Auth\AuthenticationFactory; +use OPNsense\Auth\AuthenticationFactory(); // open database $database_filename = '/var/captiveportal/captiveportal.sqlite'; @@ -54,7 +54,7 @@ $result = $db->query(' // process all sessions while($row = $result->fetchArray(SQLITE3_ASSOC) ){ - $authFactory = new OPNsense\Auth\AuthenticationFactory; + $authFactory = new OPNsense\Auth\AuthenticationFactory(); $authenticator = $authFactory->get($row['authenticated_via']); if ($authenticator != null) { if ($row['state'] == null) {