From a56120f2793bf778b171784f7ebac4d624f8d494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Sun, 15 Feb 2009 21:34:00 +0000 Subject: Remove all global decalarations regarding pptp/pppoe/l2tp they are no more needed. --- etc/inc/config.inc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'etc/inc/config.inc') diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 3f81ab0..6bd22c8 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -317,19 +317,6 @@ function parse_config($parse = false) { update_filter_reload_status("Plugins completed."); } - /* override some global configuration parms if they exist - * instead of hard coding these checks into the codebase - */ - if($config['pptp']['n_pptp_units']) - $g['n_pptp_units'] = $config['pptp']['n_pptp_units']; - if($config['pptp']['pptp_subnet']) - $g['pptp_subnet'] = $config['pptp']['pptp_subnet']; - - if($config['pppoe']['n_pppoe_units']) - $g['n_pppoe_units'] = $config['pppoe']['n_pppoe_units']; - if($config['pppoe']['pppoe_subnet']) - $g['pppoe_subnet'] = $config['pppoe']['pppoe_subnet']; - return $config; } -- cgit v1.1