summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2e7c2f7)
raw | patch | inline | side by side (parent: 2e7c2f7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Dec 2008 14:25:55 +0000 (14:25 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Dec 2008 14:25:55 +0000 (14:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13210 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/personal/mail/class_mail-methods.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods.inc b/gosa-plugins/mail/personal/mail/class_mail-methods.inc
index b22c042683cb4041fa0b6949cb5f98cbd2fe3e92..7b4abf37473245aac27d15e95a0cd29205ee8815 100644 (file)
{
return(TRUE);
}
+
+
+ /*! \brief Returns the configured mailMethod
+ @return String the configured mail method or ""
+ */
+ static public function get_current_method($config)
+ {
+ global $class_mapping;
+ $method= $config->get_cfg_value("mailmethod");
+ $cls = get_correct_class_name("mailMethod$method");
+ foreach($class_mapping as $class => $path){
+ if($class == $cls){
+ return($class);
+ }
+ }
+ return("");
+ }
+
}