diff options
author | alecpl <alec@alec.pl> | 2008-08-26 07:21:50 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-08-26 07:21:50 +0000 |
commit | 9e8e5fa634ace418e6b34280133685485b97a9c0 (patch) | |
tree | 80ae14092bef204fe4689e83d72542af5d152d46 /program/include/main.inc | |
parent | 6ed25604a9f3d4a57b12ad1364af1690f43ec282 (diff) |
- Removed support for PEAR::DB driver
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 3 |
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'); |