From a514647d5fff14f7465d9edcdd83917a04df1b0c Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Mon, 6 Apr 2009 16:57:48 +0200 Subject: [PATCH] Allow the objects to access the server parameters. --- framework/Kolab_Server/lib/Horde/Kolab/Server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.11.0