From 7fe908c50c8dbc5cc05f571dbe11d66141caacd4 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Thu, 14 Nov 2013 09:01:22 -0500
Subject: [PATCH] Cleaning up code to match coding guidelines

---
 helper_scripts/dns_export_to_bind_retrans_daily.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/helper_scripts/dns_export_to_bind_retrans_daily.php b/helper_scripts/dns_export_to_bind_retrans_daily.php
index 39faf14..a571367 100644
--- a/helper_scripts/dns_export_to_bind_retrans_daily.php
+++ b/helper_scripts/dns_export_to_bind_retrans_daily.php
@@ -2,13 +2,13 @@
 $host="IP_ADDRESS";
 $user="USERNAME";
 $password="PASSWORD";
-mysql_connect($host,$user,$password) or die(mysql_error());
+mysql_connect($host, $user, $password) or die(mysql_error());
 mysql_select_db("dbispconfig");
 $result = "";
 $result = mysql_query("SELECT origin FROM dns_soa ORDER BY origin ASC;");
 while($row = mysql_fetch_array($result))
 {
-        $zone=substr($row["origin"],0,-1);
-        system("rndc retransfer ".$zone);
+	$zone=substr($row["origin"], 0, -1);
+	system("rndc retransfer ".$zone);
 }
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1