From: Gunnar Wrobel
Date: Mon, 6 Apr 2009 14:57:48 +0000 (+0200) Subject: Allow the objects to access the server parameters. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a514647d5fff14f7465d9edcdd83917a04df1b0c;p=horde.git Allow the objects to access the server parameters. --- diff --git a/framework/Kolab_Server/lib/Horde/Kolab/Server.php b/framework/Kolab_Server/lib/Horde/Kolab/Server.php index ebe9e0248..8d5398081 100644 --- a/framework/Kolab_Server/lib/Horde/Kolab/Server.php +++ b/framework/Kolab_Server/lib/Horde/Kolab/Server.php @@ -41,7 +41,7 @@ abstract class Horde_Kolab_Server * * @var array */ - protected $params = array(); + public $params = array(); /** * The UID of the current user. @@ -411,7 +411,7 @@ abstract class Horde_Kolab_Server * information from the server we will skip the * attributes defined within the object class here. */ - if (!empty($GLOBALS['conf']['kolab']['server']['schema_override']) + if (!empty($this->params['schema_override']) && in_array($type, 'defined', 'required')) { continue; }