DB code cleanup

release-0.6
svncommit 19 years ago
parent 1223297890
commit ba94bf4282

@ -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)
{

@ -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)

Loading…
Cancel
Save