Commit e542ea68 authored by evbevz's avatar evbevz Committed by Franco Fichtner

Update phpDynDNS.inc

An API exception occured
Error at /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc:92 - Methods with the same name as their class will not be constructors in a future version of PHP; updatedns has a deprecated constructor (errno=8192)
(cherry picked from commit 7560c617)
parent 227ced0e
...@@ -131,7 +131,7 @@ class updatedns { ...@@ -131,7 +131,7 @@ class updatedns {
* - $dnsUser, and $dnsPass indicate HTTP Auth for custom DNS, if they are needed in the URL (GET Variables), include them in $dnsUpdateURL. * - $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. * - $For custom requests, $dnsUpdateURL is parsed for '%IP%', which is replaced with the new IP.
*/ */
function updatedns ($dnsService = '', $dnsHost = '', $dnsUser = '', $dnsPass = '', public function __construct ($dnsService = '', $dnsHost = '', $dnsUser = '', $dnsPass = '',
$dnsWildcard = 'OFF', $dnsMX = '', $dnsIf = '', $dnsBackMX = '', $dnsWildcard = 'OFF', $dnsMX = '', $dnsIf = '', $dnsBackMX = '',
$dnsServer = '', $dnsPort = '', $dnsUpdateURL = '', $forceUpdate = false, $dnsServer = '', $dnsPort = '', $dnsUpdateURL = '', $forceUpdate = false,
$dnsZoneID ='', $dnsTTL='', $dnsResultMatch = '', $dnsRequestIf = '', $dnsZoneID ='', $dnsTTL='', $dnsResultMatch = '', $dnsRequestIf = '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment