summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2005-10-20 16:23:12 +0000
committersvncommit <devs@roundcube.net>2005-10-20 16:23:12 +0000
commitba94bf4282c142fb9e3d2c546c5ba8b6df2ac7e1 (patch)
treea1f87766c86a67d77ac507ebbdce0ec5940880d1 /program/include
parent1223297890464d64086bf8958beaa78c365b4055 (diff)
DB code cleanup
Diffstat (limited to 'program/include')
-rwxr-xr-xprogram/include/rcube_db.inc11
-rwxr-xr-xprogram/include/rcube_mdb2.inc11
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)