summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)