Changeset ba94bf4 in github


Ignore:
Timestamp:
Oct 20, 2005 12:23:12 PM (8 years ago)
Author:
svncommit <devs@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
53560c5
Parents:
1223297
Message:

DB code cleanup

Location:
program/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_db.inc

    r42b1135 rba94bf4  
    128128        return $this->_add_result($result, $query); 
    129129    } 
    130  
    131     function db_execute ($query) 
    132     { 
    133         $this->db_connect('w'); 
    134  
    135         if ($this->db_provider == 'sqlite') 
    136             $query = $this->_sqlite_prepare_query($query); 
    137  
    138         $result = $this->db_handle->query($query); 
    139  
    140     } 
    141130     
    142131    function num_rows($res_id=NULL) 
  • program/include/rcube_mdb2.inc

    rf45ec7e rba94bf4  
    129129    } 
    130130 
    131     function db_execute ($query) 
    132     { 
    133         $this->db_connect('w'); 
    134  
    135         if ($this->db_provider == 'sqlite') 
    136             $query = $this->_sqlite_prepare_query($query); 
    137  
    138         $result = $this->db_handle->query($query); 
    139  
    140     } 
    141      
    142131    function num_rows($res_id=NULL) 
    143132    { 
Note: See TracChangeset for help on using the changeset viewer.