From: hickert Date: Tue, 11 May 2010 07:42:05 +0000 (+0000) Subject: removed defaults from get_cfg_value and added some missing properties. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0e36a0d7222247bdd731a060d4f39c0df604fe6;p=gosa.git removed defaults from get_cfg_value and added some missing properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18330 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/uw-imap/personal/mail/uw-imap/class_mail-methods-uwimap.inc b/gosa-plugins/uw-imap/personal/mail/uw-imap/class_mail-methods-uwimap.inc index d642974c1..59542f4fd 100644 --- a/gosa-plugins/uw-imap/personal/mail/uw-imap/class_mail-methods-uwimap.inc +++ b/gosa-plugins/uw-imap/personal/mail/uw-imap/class_mail-methods-uwimap.inc @@ -57,7 +57,7 @@ class mailMethodUwimap extends mailMethod{ /* Check for required PROCMAIL_PATH configuration */ - if($this->config->get_cfg_value("core","procMailPath","") == ""){ + if($this->config->get_cfg_value("mailMethodUwimap","procMailPath") == ""){ msg_dialog::display(_("Configuration error"),msgPool::invalidConfigurationAttribute("procMailPath"), ERROR_DIALOG); $this->procmaildir = ""; }else{ @@ -140,6 +140,26 @@ class mailMethodUwimap extends mailMethod{ } } + static function plInfo() + { + return ( + array( + "plProperties" => + array( + array( + "name" => "procMailPath", + "type" => "path", + "default" => "", + "description" => "", + "check" => "gosaProperty::isWriteablePath", + "migrate" => "", + "group" => "mail", + "mandatory" => FALSE + ) + ) + ) + ); + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: