Aleksander Machniak
2012-07-08 8e926e6201dbd8876ed26c9a4b3af5d7079d6247
program/include/rcube_db.php
@@ -416,7 +416,6 @@
    /**
     * Get last inserted record ID
     * For Postgres databases, a sequence name is required
     *
     * @param string $table Table name (to find the incremented sequence)
     *
@@ -805,28 +804,6 @@
        }
        return $table;
    }
    /**
     * 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;
    }
    /**