Code

mail methods clean from any SELECT_
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 31 May 2005 05:16:01 +0000 (05:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 31 May 2005 05:16:01 +0000 (05:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@503 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/mail/class_mailAccount.inc

index e19c3a0691f79e0243d22bd4e3d50afbd240af83..97b025d253e6029df874dec43761bbbcf85c7f1a 100644 (file)
@@ -501,36 +501,6 @@ class mailAccount extends plugin
     $smarty->assign("custom_sieveACL", chkacl($this->acl, "custom_sieve"));    
     $smarty->assign("only_localACL", chkacl($this->acl, "only_local"));        
 
-    if(count($this->gosaMailAlternateAddress)){ 
-      $smarty->assign("SELECT_gosaMailAlternateAddress",true);
-    } else { 
-      $smarty->assign("SELECT_gosaMailAlternateAddress",false);
-    }
-
-    if(count($this->mailboxList)){
-      $smarty->assign("SELECT_spambox",true);
-    } else {
-      $smarty->assign("SELECT_spambox",false);
-    }
-
-    if(count($this->vacation)) {
-      $smarty->assign("SELECT_vacationtemplates",true);
-    } else {
-      $smarty->assign("SELECT_vacationtemplates",false);
-    }
-
-    if(count($this->gosaMailForwardingAddress)){
-      $smarty->assign("SELECT_gosaMailForwardingAddress",true);
-    } else {
-      $smarty->assign("SELECT_gosaMailForwardingAddress",false);
-    }
-
-    if(count($mailserver)){
-      $smarty->assign("SELECT_mailServers",true);
-    } else {
-      $smarty->assign("SELECT_mailServers",false);
-    }
-
     $display.= $smarty->fetch (get_template_path('generic.tpl', TRUE, dirname(__FILE__)));
     return ($display);
   }