From 2a4acdb4f99f2a553013961e7bb86397e62c1bd4 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 19 Apr 2013 05:30:29 -0400
Subject: [PATCH] Reverted SVN trunk back to revision 3938 to remove changes in default theme an a replacement of the ispconfig logo.

---
 interface/web/dns/dns_mx_edit.php |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/interface/web/dns/dns_mx_edit.php b/interface/web/dns/dns_mx_edit.php
index 8ce9b87..73483f7 100644
--- a/interface/web/dns/dns_mx_edit.php
+++ b/interface/web/dns/dns_mx_edit.php
@@ -119,17 +119,6 @@
 		parent::onInsert();
 	}
 	
-	function onUpdate() {
-		global $app, $conf;
-		
-		// Check if record is existing already
-		$duplicate_mx = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ".$app->functions->intval($this->dataRecord["zone"])." AND name = '".$this->dataRecord["name"]."' AND type = '".$this->dataRecord["type"]."' AND data = '".$this->dataRecord["data"]."' AND id != ".$app->functions->intval($this->dataRecord["id"])." AND ".$app->tform->getAuthSQL('r'));
-		
-		if(is_array($duplicate_mx) && !empty($duplicate_mx)) $app->error($app->tform->wordbook["duplicate_mx_record_txt"]);
-		
-		parent::onUpdate();
-	}
-	
 	function onAfterInsert() {
 		global $app, $conf;
 		

--
Gitblit v1.9.1