From: hickert Date: Mon, 20 Mar 2006 12:57:11 +0000 (+0000) Subject: Fixed mailQueue Plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5dd9d6d6f437ffc983b95ba87af231735a2fa673;p=gosa.git Fixed mailQueue Plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2862 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/addons/mailqueue/class_mailqueue.inc b/plugins/addons/mailqueue/class_mailqueue.inc index 4dca13dee..c6e9e322d 100644 --- a/plugins/addons/mailqueue/class_mailqueue.inc +++ b/plugins/addons/mailqueue/class_mailqueue.inc @@ -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{