uw              Thu Mar 22 06:57:45 2001 EDT

  Modified files:              
    /php4/pear/Cache/Container  dbx.php 
  Log:
  - connection data typo
  - whitespaces
  
  
Index: php4/pear/Cache/Container/dbx.php
diff -u php4/pear/Cache/Container/dbx.php:1.1 php4/pear/Cache/Container/dbx.php:1.2
--- php4/pear/Cache/Container/dbx.php:1.1       Thu Mar 22 06:29:01 2001
+++ php4/pear/Cache/Container/dbx.php   Thu Mar 22 06:57:44 2001
@@ -15,7 +15,7 @@
 // | Authors: Christian Stocker <[EMAIL PROTECTED]>                         |
 // +----------------------------------------------------------------------+
 //
-// $Id: dbx.php,v 1.1 2001/03/22 14:29:01 chregu Exp $
+// $Id: dbx.php,v 1.2 2001/03/22 14:57:44 uw Exp $
 
 
 require_once 'Cache/Container.php';
@@ -50,7 +50,7 @@
 * )
 *
 * @author   Christian Stocker <[EMAIL PROTECTED]>
-* @version  $Id: dbx.php,v 1.1 2001/03/22 14:29:01 chregu Exp $
+* @version  $Id: dbx.php,v 1.2 2001/03/22 14:57:44 uw Exp $
 * @package  Cache
 */
 class Cache_Container_dbx extends Cache_Container {
@@ -69,7 +69,6 @@
     * 
     * @var  string
     */
-
     var $module = '';
 
     /**
@@ -91,7 +90,6 @@
     * 
     * @var  string
     */
-
     var $username = '';
 
     /**
@@ -119,7 +117,7 @@
         if (!$this->module)
             return new Cache_Error('No module specified!', __FILE__, __LINE__);
 
-        $this->db = 
dbx_connect($this->module,$thos->host,$this->db,$this->username,$this->password);
+        $this->db = dbx_connect($this->module, $this->host, $this->db, 
+$this->username, $this->password);
 
         if (dbx_error($this->db)) {
             return new Cache_Error('DBx connect failed: ' . dbx_error($this->db), 
__FILE__, __LINE__);
@@ -168,7 +166,7 @@
                          addslashes($group)
                         );
 
-        $res = dbx_query($this->db,$query);
+        $res = dbx_query($this->db, $query);
 
         if (dbx_error($this->db)) {
             return new Cache_Error('DBx query failed: ' . dbx_error($this->db) , 
__FILE__, __LINE__);
@@ -185,7 +183,7 @@
                          addslashes($group)
                         );
 
-        $res = dbx_query($this->db,$query);
+        $res = dbx_query($this->db, $query);
 
         if (dbx_error($this->db))
             return new Cache_Error('DBx query failed: ' . dbx_error($this->db), 
__FILE__, __LINE__);
@@ -215,7 +213,7 @@
                          addslashes($group)
                         );
 
-        $res = dbx_query($this->db,$query);
+        $res = dbx_query($this->db, $query);
 
         if (dbx_error($this->db))
             return new Cache_Error('DBx query failed: ' . dbx_error($this->db), 
__FILE__, __LINE__);
@@ -237,7 +235,7 @@
                          time());
 
 
-        $res = dbx_query($this->db,$query);
+        $res = dbx_query($this->db, $query);
 
         if (dbx_error($this->db))
             return new Cache_Error('DBx query failed: ' . dbx_error($this->db), 
__FILE__, __LINE__);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to