summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-08-26 07:21:50 +0000
committeralecpl <alec@alec.pl>2008-08-26 07:21:50 +0000
commit9e8e5fa634ace418e6b34280133685485b97a9c0 (patch)
tree80ae14092bef204fe4689e83d72542af5d152d46 /program/include/main.inc
parent6ed25604a9f3d4a57b12ad1364af1690f43ec282 (diff)
- Removed support for PEAR::DB driver
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index bfba9dd24..d79bd01d2 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -76,9 +76,8 @@ function get_sequence_name($sequence)
if (!empty($opt))
{
$db = &rcmail::get_instance()->db;
- $dbclass = 'rcube_mdb2';
- if ($db->db_provider=='pgsql' && ($db instanceof $dbclass))
+ if ($db->db_provider=='pgsql')
{
$db->db_handle->setOption('disable_smart_seqname', true);
$db->db_handle->setOption('seqname_format', '%s');