From 583f1c8d80c42195d0ee41f30a885e13d777b79f Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 08 Nov 2005 15:18:56 -0500 Subject: [PATCH] Added reply-to-all function (submitted by Julien Brette) --- program/include/rcube_db.inc | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/program/include/rcube_db.inc b/program/include/rcube_db.inc index 684ed49..f13ab55 100755 --- a/program/include/rcube_db.inc +++ b/program/include/rcube_db.inc @@ -220,7 +220,17 @@ return $result->fetchRow(DB_FETCHMODE_ASSOC); } - function quoteIdentifier ( $str ) + + function quote($input, $type=null) + { + if (!$this->db_handle) + $this->db_connect('r'); + + return $this->db_handle->quote($input); + } + + + function quoteIdentifier($str) { if (!$this->db_handle) $this->db_connect('r'); @@ -228,6 +238,12 @@ return $this->db_handle->quoteIdentifier($str); } + function quote_identifier($str) + { + return $this->quoteIdentifier($str); + } + + function unixtimestamp($field) { switch($this->db_provider) -- Gitblit v1.9.1