From 535b07f72c7776cb687ae4e9ebb9528a519bc79a Mon Sep 17 00:00:00 2001 From: Renato Botelho do Couto Date: Tue, 3 Sep 2019 10:20:28 -0300 Subject: [PATCH] Do not use constructor with the same name of class, it's going to be deprecated (cherry picked from commit d43154fee7d7c2a5a007f36da7d86a94bd197a85) --- src/etc/inc/dyndns.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index b9fc3e2c0d..101e85c078 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -184,7 +184,7 @@ * - $dnsUser, and $dnsPass indicate HTTP Auth for custom DNS, if they are needed in the URL (GET Variables), include them in $dnsUpdateURL. * - $For custom requests, $dnsUpdateURL is parsed for '%IP%', which is replaced with the new IP. */ - function updatedns ($dnsService = '', $dnsHost = '', $dnsDomain = '', $dnsUser = '', $dnsPass = '', + function __construct($dnsService = '', $dnsHost = '', $dnsDomain = '', $dnsUser = '', $dnsPass = '', $dnsWildcard = 'OFF', $dnsProxied = false, $dnsMX = '', $dnsIf = '', $dnsBackMX = '', $dnsServer = '', $dnsPort = '', $dnsUpdateURL = '', $forceUpdate = false, $dnsZoneID ='', $dnsTTL='', $dnsResultMatch = '', $dnsRequestIf = '',