summaryrefslogtreecommitdiff
path: root/program/include/rcube_db.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_db.php')
-rw-r--r--program/include/rcube_db.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/program/include/rcube_db.php b/program/include/rcube_db.php
index f24e95913..31385d860 100644
--- a/program/include/rcube_db.php
+++ b/program/include/rcube_db.php
@@ -416,7 +416,6 @@ class rcube_db
/**
* Get last inserted record ID
- * For Postgres databases, a sequence name is required
*
* @param string $table Table name (to find the incremented sequence)
*
@@ -808,28 +807,6 @@ class rcube_db
}
/**
- * Return correct name for a specific database sequence
- * (used for Postgres only)
- *
- * @param string $sequence Secuence name
- *
- * @return string Translated sequence name
- */
- public function sequence_name($sequence)
- {
- $rcube = rcube::get_instance();
-
- // return sequence name if configured
- $config_key = 'db_sequence_'.$sequence;
-
- if ($name = $rcube->config->get($config_key)) {
- return $name;
- }
-
- return $sequence;
- }
-
- /**
* MDB2 DSN string parser
*
* @param string $sequence Secuence name