Code

Updated mailqueue
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Sep 2008 10:23:00 +0000 (10:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Sep 2008 10:23:00 +0000 (10:23 +0000)
-Fixed row naming

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12445 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/addons/mailqueue/class_si_mailqueue.inc

index 0523b84560287583b8814bf0050eaa40b24e7e19..6fed47a4b49c43dd1ca77bfe917371cd3d21df9a 100644 (file)
@@ -34,7 +34,7 @@ class si_mailqueue extends gosaSupportDaemon
    */
   public function query_mailqueue($server,$search_str,$time)
   {
-    $attrs = array("Size","Recipient","Sender","Arrival","MailID","Hold","Active","Error","Server");
+    $attrs = array("Size","Recipient","Sender","Arrival","MailID","Hold","Active","Status","Server");
 
     /* Prepare search filter 
      */
@@ -63,8 +63,7 @@ class si_mailqueue extends gosaSupportDaemon
           $ids[] = $val['MailID'];
           $attrs = array(  
               "MSG_HOLD"   => "Hold",
-              "MSG_ACTIVE" => "Active",
-              "ERROR"      => "Error");
+              "MSG_ACTIVE" => "Active");
           foreach($attrs as $source => $dest){
             if(isset($entry[0][$source][0]['VALUE'])){
               $val[$dest] = $entry[0][$source][0]['VALUE'];