diff options
author | alecpl <alec@alec.pl> | 2009-08-04 08:22:41 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-08-04 08:22:41 +0000 |
commit | 6b7e8e705a32088a7cb7094eb3204714442cd4e6 (patch) | |
tree | 0554e286dfc5c3a895afbc91ac62583d78aaca9f /program/include/rcube_user.php | |
parent | dbfceb4b5c81d6627fe549ae4a0a8ee24ac52093 (diff) |
- Use sequence names only with PostgreSQL (#1486018)
Diffstat (limited to 'program/include/rcube_user.php')
-rw-r--r-- | program/include/rcube_user.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php index d933aa3c9..54a76c5ab 100644 --- a/program/include/rcube_user.php +++ b/program/include/rcube_user.php @@ -231,7 +231,7 @@ class rcube_user call_user_func_array(array($this->db, 'query'), array_merge(array($sql), $insert_values)); - return $this->db->insert_id(get_sequence_name('identities')); + return $this->db->insert_id('identities'); } @@ -386,7 +386,7 @@ class rcube_user strip_newlines($data['alias'] ? $data['alias'] : $user_email), $_SESSION['language']); - if ($user_id = $dbh->insert_id(get_sequence_name('users'))) + if ($user_id = $dbh->insert_id('users')) { // create rcube_user instance to make plugin hooks work $user_instance = new rcube_user($user_id); |