Code

Fixed mailQueue Plugin
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 20 Mar 2006 12:57:11 +0000 (12:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 20 Mar 2006 12:57:11 +0000 (12:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2862 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/mailqueue/class_mailqueue.inc

index 4dca13deeae9df3097315b5cebb53e63764ada73..c6e9e322d63cc394dbadf6789a0e78bb9cc39048 100644 (file)
@@ -26,6 +26,11 @@ class mailqueue extends plugin
     if (isset($this->config->current['MAILQUEUESCRIPTPATH'])){
       $this->mailQueueScript  = $this->config->current['MAILQUEUESCRIPTPATH'];    
     }
+
+    if(isset($this->config->data['MAIN']['MAILQUEUESCRIPTPATH'])){
+       $this->mailQueueScript  = $this->config->data['MAIN']['MAILQUEUESCRIPTPATH'];
+    }
+
     $this->Server           = "all";
   }
 
@@ -50,7 +55,7 @@ class mailqueue extends plugin
     $error =false;
 
     if(empty($this->mailQueueScript)){
-      print_red(_("Please check your 'gosa.conf', there is no 'MAILQUEUE_QUERY_COMMAND' specified."));
+      print_red(_("Please check your 'gosa.conf', there is no 'MAILQUEUESCRIPTPATH' specified."));
       $error = true;
     }else{