diff options
author | svncommit <devs@roundcube.net> | 2005-10-20 16:23:12 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2005-10-20 16:23:12 +0000 |
commit | ba94bf4282c142fb9e3d2c546c5ba8b6df2ac7e1 (patch) | |
tree | a1f87766c86a67d77ac507ebbdce0ec5940880d1 /program | |
parent | 1223297890464d64086bf8958beaa78c365b4055 (diff) |
DB code cleanup
Diffstat (limited to 'program')
-rwxr-xr-x | program/include/rcube_db.inc | 11 | ||||
-rwxr-xr-x | program/include/rcube_mdb2.inc | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/program/include/rcube_db.inc b/program/include/rcube_db.inc index 7d9d1bb95..2b0c01af9 100755 --- a/program/include/rcube_db.inc +++ b/program/include/rcube_db.inc @@ -127,17 +127,6 @@ class rcube_db return $this->_add_result($result, $query); } - - function db_execute ($query) - { - $this->db_connect('w'); - - if ($this->db_provider == 'sqlite') - $query = $this->_sqlite_prepare_query($query); - - $result = $this->db_handle->query($query); - - } function num_rows($res_id=NULL) { diff --git a/program/include/rcube_mdb2.inc b/program/include/rcube_mdb2.inc index 7473fa348..77518e7ae 100755 --- a/program/include/rcube_mdb2.inc +++ b/program/include/rcube_mdb2.inc @@ -128,17 +128,6 @@ class rcube_db return $this->_add_result($result, $query); } - function db_execute ($query) - { - $this->db_connect('w'); - - if ($this->db_provider == 'sqlite') - $query = $this->_sqlite_prepare_query($query); - - $result = $this->db_handle->query($query); - - } - function num_rows($res_id=NULL) { if (!$this->db_handle) |