From de0faaf9bf8e435df0b830ad7e491c14fca1fc28 Mon Sep 17 00:00:00 2001 From: Axel ROGER Date: Thu, 18 Oct 2012 13:25:35 +0000 Subject: [PATCH] SecondaryMX can't work without this function (was accidently deleted since v1.0) --- bureau/class/m_mail.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bureau/class/m_mail.php b/bureau/class/m_mail.php index e83c5693..d63d3f67 100644 --- a/bureau/class/m_mail.php +++ b/bureau/class/m_mail.php @@ -681,6 +681,21 @@ class m_mail { } return false; } + + + /* ----------------------------------------------------------------- */ + /** Out (echo) the complete hosted domain list : + */ + function echo_domain_list() { + global $db,$err; + $db->query("SELECT domaine FROM domaines WHERE gesdns=1 ORDER BY domaine"); + while ($db->next_record()) { + echo $db->f("domaine")."\n"; + } + return true; + } + + /* ----------------------------------------------------------------- */ /** * Add a slave account that will be allowed to access the mxdomain list