diff options
-rw-r--r-- | etc/inc/captiveportal.inc | 1 | ||||
-rw-r--r-- | etc/inc/voucher.inc | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 0fda324..971dbac 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -1247,7 +1247,6 @@ function captiveportal_logportalauth($user,$mac,$ip,$status, $message = null) { /* log simple messages to syslog */ function captiveportal_syslog($message) { - define_syslog_variables(); $message = trim($message); openlog("logportalauth", LOG_PID, LOG_LOCAL4); // Log it diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index b3bc5a4..63a7d94 100644 --- a/etc/inc/voucher.inc +++ b/etc/inc/voucher.inc @@ -647,7 +647,6 @@ function voucher_unlink_db($roll) { /* we share the log with captiveportal for now */ function voucher_log($priority, $message) { - define_syslog_variables(); $message = trim($message); openlog("logportalauth", LOG_PID, LOG_LOCAL4); syslog($priority, sprintf(gettext("Voucher: %s"),$message)); |