From 06d22e2778fe5959b54032cd3d9f2baa2b0138a8 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 9 Jul 2008 07:50:37 +0000 Subject: [PATCH] Updated setup. -Collecting available mail methods failed if no mail plugins were installed. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11571 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/setup/class_setupStep_Config2.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-core/setup/class_setupStep_Config2.inc b/gosa-core/setup/class_setupStep_Config2.inc index 89103e75b..50bfc8e66 100644 --- a/gosa-core/setup/class_setupStep_Config2.inc +++ b/gosa-core/setup/class_setupStep_Config2.inc @@ -311,6 +311,11 @@ class Step_Config2 extends setup_step { global $class_mapping; + /* Check if we have the mail classes/plugins installed */ + if(!class_available("mailMethod")){ + return(array()); + } + $default_uattrib = ""; $m_class_vars = get_class_vars("mailMethod"); if(isset($m_class_vars['uattrib'])){ -- 2.30.2