From: Massimiliano Chinni Date: Fri, 17 Jan 2014 10:14:01 +0000 (+0100) Subject: bugfix: all fixes to ttl value were lost X-Git-Tag: v1.0.1~3^2 X-Git-Url: http://git.neszt.hu/?a=commitdiff_plain;h=5366c267d40792cec3663873afcfdd6b07309fac;p=Dyndns%2F.git bugfix: all fixes to ttl value were lost --- diff --git a/src/Dyndns/Hosts.php b/src/Dyndns/Hosts.php index ee6475b..23dc32f 100644 --- a/src/Dyndns/Hosts.php +++ b/src/Dyndns/Hosts.php @@ -170,7 +170,6 @@ class Hosts } fwrite($fh, "server $server\n"); fwrite($fh, "zone $zone\n"); - $ttl = $this->getConfig('bind.ttl'); foreach ($this->updates as $host => $ip) { fwrite($fh, "update delete $host A\n"); fwrite($fh, "update add $host $ttl A $ip\n");