CVS update: /cowiki/includes/cowiki/class/dao/

[email protected] 6 May 2005 02:05:19 -0000
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <[email protected]>
User: dgorski 
Date: 2005/05/05 19:05:19

Modified:
   cowiki/includes/cowiki/class/dao/class.StorageFactory.php

Log:
 Make method create() public

File Changes:

Directory: /cowiki/includes/cowiki/class/dao/
=============================================

File [changed]: class.StorageFactory.php
Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/dao/class.StorageFactory.php?r1=1.19&r2=1.20
Delta lines:  +4 -4
-------------------
--- class.StorageFactory.php	2 May 2005 04:03:23 -0000	1.19
+++ class.StorageFactory.php	6 May 2005 02:05:17 -0000	1.20
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.StorageFactory.php,v 1.19 2005/05/02 04:03:23 dgorski Exp $
+ * $Id: class.StorageFactory.php,v 1.20 2005/05/06 02:05:17 dgorski Exp $
  *
  * This file is part of coWiki. coWiki is free software under the terms of
  * the GNU General Public License (GPL). Read the LICENSE file. If you did
@@ -17,7 +17,7 @@
  * @author      Daniel T. Gorski, <[email protected]>
  * @copyright   (C) Daniel T. Gorski, {@link http://www.develnet.org}
  * @license     http://www.gnu.org/licenses/gpl.html
- * @version     $Revision: 1.19 $
+ * @version     $Revision: 1.20 $
  *
  */
 
@@ -126,7 +126,7 @@
     /**
      * Create appropriate storage abstraction layer
      *
-     * @access  protected
+     * @access  public
      * @param   string  Resource DSN
      * @return  object
      *
@@ -140,7 +140,7 @@
      * @throws  StorageDatabaseSelectionException
      * @throws  StorageException
      */
-    protected function create($sResource) {
+    public function create($sResource) {
 
         // Resource recycling, might speed up connections a bit
         if (isset($this->aCache[$sResource])) {