Code

Fixed spelling of several properties and added missing ones
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 08:46:03 +0000 (08:46 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 08:46:03 +0000 (08:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18347 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/personal/mail/class_mail-methods.inc

index da4e66206433eaf719f2da3de15fa57d69ec2bfe..2515d3a458c761fbd91eca92dd81ba0779866ccc 100644 (file)
@@ -469,8 +469,8 @@ class mailMethod{
   public function get_method()
   {
     $methods = mailMethod::get_methods();
-    if ($this->config->get_cfg_value("core","mailmethod") != ""){
-      $method= $this->config->get_cfg_value("core","mailmethod");
+    if ($this->config->get_cfg_value("core","mailMethod") != ""){
+      $method= $this->config->get_cfg_value("core","mailMethod");
       $cls = get_correct_class_name("mailMethod$method");
       if(isset($methods[$cls])){
         @DEBUG (DEBUG_MAIL, __LINE__, __FUNCTION__, __FILE__,"", "<b>MAIL:</b> Selected mailMethod: <b>".$cls."</b>");
@@ -786,7 +786,7 @@ class mailMethod{
   static public function get_current_method($config)
   {
     global $class_mapping;
-    $method= $config->get_cfg_value("core","mailmethod");
+    $method= $config->get_cfg_value("core","mailMethod");
     $cls = get_correct_class_name("mailMethod$method");
     foreach($class_mapping as $class => $path){
       if($class == $cls){