summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd6c60b)
raw | patch | inline | side by side (parent: dd6c60b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Jul 2008 07:50:37 +0000 (07:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Jul 2008 07:50:37 +0000 (07:50 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11571 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/setup/class_setupStep_Config2.inc | patch | blob | history |
diff --git a/gosa-core/setup/class_setupStep_Config2.inc b/gosa-core/setup/class_setupStep_Config2.inc
index 89103e75b082f0ac404dd3bd16d54c6997d7efb2..50bfc8e660003c4cc8179365936534c2bc204653 100644 (file)
{
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'])){