Allow the objects to access the server parameters.
authorGunnar Wrobel <p@rdus.de>
Mon, 6 Apr 2009 14:57:48 +0000 (16:57 +0200)
committerGunnar Wrobel <p@rdus.de>
Mon, 6 Apr 2009 14:57:48 +0000 (16:57 +0200)
framework/Kolab_Server/lib/Horde/Kolab/Server.php

index ebe9e02..8d53980 100644 (file)
@@ -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;
                             }