Remove Horde_Prefs_Storage_Kolab driver
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 26 Oct 2010 23:30:20 +0000 (17:30 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 26 Oct 2010 23:32:12 +0000 (17:32 -0600)
framework/Prefs/lib/Horde/Prefs/Storage/Kolab.php [deleted file]
framework/Prefs/package.xml
horde/config/conf.xml

diff --git a/framework/Prefs/lib/Horde/Prefs/Storage/Kolab.php b/framework/Prefs/lib/Horde/Prefs/Storage/Kolab.php
deleted file mode 100644 (file)
index 8b1fcd6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-/**
- * Kolab implementation of the Horde preference system. Derives from the
- * Prefs LDAP authentication object, and simply provides parameters to it
- * based on the global Kolab configuration.
- *
- * Copyright 2004-2007 Stuart Binge <s.binge@codefusion.co.za>
- *
- * See the enclosed file COPYING for license information (LGPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
- *
- * @author   Stuart Binge <s.binge@codefusion.co.za>
- * @category Horde
- * @package  Prefs
- */
-class Horde_Prefs_Storage_Kolab extends Horde_Prefs_Storage_Ldap
-{
-   /**
-     * Constructor.
-     *
-     * @param array $params  Configuration parameters.
-     */
-    public function __construct(array $params = array())
-    {
-        require_once 'Horde/Kolab.php';
-        $params = array(
-            'hostspec' => Kolab::getServer('ldap'),
-            'port' => $GLOBALS['conf']['kolab']['ldap']['port'],
-            'version' => '3',
-            'basedn' => $GLOBALS['conf']['kolab']['ldap']['basedn'],
-            'writedn' => 'user',
-            'searchdn' => $GLOBALS['conf']['kolab']['ldap']['phpdn'],
-            'searchpw' => $GLOBALS['conf']['kolab']['ldap']['phppw'],
-            'uid' => 'mail'
-        );
-
-        parent::__construct($params);
-    }
-
-}
index b3c451c..d0330ee 100644 (file)
@@ -21,8 +21,8 @@
   <api>beta</api>
  </stability>
  <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license>
- <notes>
-* Abstract storage code into Horde_Prefs_Storage.
+ <notes> * Removed Horde_Prefs_Storage_Kolab driver.
+ * Abstract storage code into Horde_Prefs_Storage.
  * Add array access API to Horde_Prefs.
  * Remove dependency on horde/Core.
  * Use Horde_Db as backend for Sql driver.
@@ -37,7 +37,6 @@
       <dir name="Storage">
        <file name="File.php" role="php" />
        <file name="Imsp.php" role="php" />
-       <file name="Kolab.php" role="php" />
        <file name="KolabImap.php" role="php" />
        <file name="Ldap.php" role="php" />
        <file name="Null.php" role="php" />
    <install as="Horde/Prefs/Translation.php" name="lib/Horde/Prefs/Translation.php" />
    <install as="Horde/Prefs/Storage/File.php" name="lib/Horde/Prefs/Storage/File.php" />
    <install as="Horde/Prefs/Storage/Imsp.php" name="lib/Horde/Prefs/Storage/Imsp.php" />
-   <install as="Horde/Prefs/Storage/Kolab.php" name="lib/Horde/Prefs/Storage/Kolab.php" />
    <install as="Horde/Prefs/Storage/KolabImap.php" name="lib/Horde/Prefs/Storage/KolabImap.php" />
    <install as="Horde/Prefs/Storage/Ldap.php" name="lib/Horde/Prefs/Storage/Ldap.php" />
    <install as="Horde/Prefs/Storage/Null.php" name="lib/Horde/Prefs/Storage/Null.php" />
index 51dc33e..50aaf9b 100644 (file)
       </configsection>
      </case>
      <case name="Session" desc="PHP Sessions"/>
-     <case name="Kolab" desc="Kolab (LDAP)" />
      <case name="KolabImap" desc="Kolab (IMAP)" />
      <case name="Imsp" desc="IMSP Server" />
    </configswitch>