From 5dd9d6d6f437ffc983b95ba87af231735a2fa673 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 20 Mar 2006 12:57:11 +0000 Subject: [PATCH] Fixed mailQueue Plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2862 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/mailqueue/class_mailqueue.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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{ -- 2.30.2