bugfix: all fixes to ttl value were lost
authorMassimiliano Chinni <m.chinni@gmail.com>
Fri, 17 Jan 2014 10:14:01 +0000 (11:14 +0100)
committerMassimiliano Chinni <m.chinni@gmail.com>
Fri, 17 Jan 2014 10:14:01 +0000 (11:14 +0100)
src/Dyndns/Hosts.php

index ee6475b..23dc32f 100644 (file)
@@ -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");