From 029167ad5dd7cc28a94c703a14d5d41ef92629a7 Mon Sep 17 00:00:00 2001
From: Michael Fürmann <michael@spicyweb.de>
Date: Thu, 19 Feb 2015 15:23:03 -0500
Subject: [PATCH] Removed management method 'mailaccount' as long as maildomain hook is not implemented

---
 interface/web/mail/xmpp_domain_edit.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/interface/web/mail/xmpp_domain_edit.php b/interface/web/mail/xmpp_domain_edit.php
index ff1f8b8..2844a27 100644
--- a/interface/web/mail/xmpp_domain_edit.php
+++ b/interface/web/mail/xmpp_domain_edit.php
@@ -264,6 +264,8 @@
 
         // Read management method
         if(isset($this->dataRecord["management_method"]))
+            // Set management method to 0 as long as the mailaccount hook is not implemented
+            $this->dataRecord["management_method"] = 0;
             switch($this->dataRecord["management_method"]){
                 case 0:
                     $this->dataRecord["management_method"] = 'normal';

--
Gitblit v1.9.1