mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
system: remove unused ifconfig property from Gateways class
Keep a shim with a default value in order to remove this gracefully from the rest of the code since it was required before.
This commit is contained in:
parent
c32c0a6591
commit
9fa2e59e1f
@ -39,19 +39,15 @@ class Gateways
|
||||
{
|
||||
var $configHandle = null;
|
||||
var $gatewaySeq = 0;
|
||||
var $ifconfig = array();
|
||||
var $cached_gateways = array();
|
||||
|
||||
/**
|
||||
* Construct new gateways object
|
||||
* @param array $ifconfig containing serialized ifconfig data
|
||||
* @param array $unused XXX shim to be removed after 24.1 when all callers are fixed
|
||||
*/
|
||||
public function __construct(array $ifconfig)
|
||||
public function __construct(array $unused = [])
|
||||
{
|
||||
$this->configHandle = Config::getInstance()->object();
|
||||
if ($ifconfig !== null) {
|
||||
$this->ifconfig = $ifconfig;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user