summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
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');