bernd commited on 2010-01-26 16:48:59
Zeige 1 geänderte Dateien mit 5 Einfügungen und 0 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1631 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -3,8 +3,13 @@ |
3 | 3 |
require_once('inc/base.php'); |
4 | 4 |
require_once('inc/debug.php'); |
5 | 5 |
|
6 |
+ |
|
6 | 7 |
function mailman_subdomains($domain) |
7 | 8 |
{ |
9 |
+ if ( ! in_array('mailman', config('modules'))) |
|
10 |
+ { |
|
11 |
+ return array(); |
|
12 |
+ } |
|
8 | 13 |
$domain = (int) $domain; |
9 | 14 |
$result = db_query("SELECT id, hostname FROM mail.mailman_domains WHERE domain={$domain}"); |
10 | 15 |
$ret = array(); |
11 | 16 |