CVS update: /cowiki/includes/cowiki/class/auth/

[email protected] 12 May 2005 18:40:24 -0000
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <[email protected]>
User: dgorski 
Date: 2005/05/12 11:40:24

Modified:
   cowiki/includes/cowiki/class/auth/class.AuthMySQL.php

Log:
 Pass UriInfo object to Storage->create() instead of the resource DSN string

File Changes:

Directory: /cowiki/includes/cowiki/class/auth/
==============================================

File [changed]: class.AuthMySQL.php
Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/auth/class.AuthMySQL.php?r1=1.14&r2=1.15
Delta lines:  +6 -4
-------------------
--- class.AuthMySQL.php	6 May 2005 02:01:19 -0000	1.14
+++ class.AuthMySQL.php	12 May 2005 18:40:21 -0000	1.15
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.AuthMySQL.php,v 1.14 2005/05/06 02:01:19 dgorski Exp $
+ * $Id: class.AuthMySQL.php,v 1.15 2005/05/12 18:40:21 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.14 $
+ * @version     $Revision: 1.15 $
  *
  */
 
@@ -56,8 +56,10 @@
         $Registry = Registry::getInstance();
 
         try {
-            $this->Storage = StorageFactory::getInstance()
-                                ->create($Registry->get('.AUTH_RESOURCE'));
+            $this->Storage = StorageFactory::getInstance();
+            $this->Storage->create(
+                new UriInfo($Registry->get('.AUTH_RESOURCE'))
+            );
 
         } catch (StorageException $se) {
             RuntimeContext::getInstance()->addError(553);