From 9bc7263ef2280448137e6560bdd0ac53bdc2f09e Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 29 Aug 2016 10:31:38 +0200 Subject: [PATCH] net/l2tp: plugins_interfaces() is now implied --- net/l2tp/src/www/vpn_l2tp.php | 1 - net/l2tp/src/www/vpn_l2tp_users_edit.php | 1 - 2 files changed, 2 deletions(-) diff --git a/net/l2tp/src/www/vpn_l2tp.php b/net/l2tp/src/www/vpn_l2tp.php index d18aaa4e4..32df2e452 100644 --- a/net/l2tp/src/www/vpn_l2tp.php +++ b/net/l2tp/src/www/vpn_l2tp.php @@ -149,7 +149,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { unset($l2tpcfg['radius']['radiusissueips']); } - plugins_interfaces(false); write_config(); if_l2tp_configure_do(); header("Location: vpn_l2tp.php"); diff --git a/net/l2tp/src/www/vpn_l2tp_users_edit.php b/net/l2tp/src/www/vpn_l2tp_users_edit.php index 1eead95d0..c019dc092 100644 --- a/net/l2tp/src/www/vpn_l2tp_users_edit.php +++ b/net/l2tp/src/www/vpn_l2tp_users_edit.php @@ -49,7 +49,6 @@ require_once("system.inc"); require_once("plugins.inc"); require_once("plugins.inc.d/if_l2tp.inc"); - if (empty($config['l2tp']['user']) || !is_array($config['l2tp']['user'])) { $config['l2tp']['user'] = array(); }