diff options
author | Timothy Warren <tim@timshomepage.net> | 2011-10-06 02:41:38 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2011-10-06 02:41:38 +0200 |
commit | f7a8d86dbc6805a4e52964bbea76738df75b5f35 (patch) | |
tree | e243d089d272b8eea3c548d0c4b9e2d435c5c390 /system/database/drivers/odbc/odbc_driver.php | |
parent | 47663970e357c51ad16d1a1a3d3b52428c022505 (diff) |
Changed all db constructors to newer syntax, made insert_id() function more convenient for postgres on pdo driver
Diffstat (limited to 'system/database/drivers/odbc/odbc_driver.php')
-rw-r--r-- | system/database/drivers/odbc/odbc_driver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php index 08cd27b6c..bcd7937d9 100644 --- a/system/database/drivers/odbc/odbc_driver.php +++ b/system/database/drivers/odbc/odbc_driver.php @@ -48,9 +48,9 @@ class CI_DB_odbc_driver extends CI_DB { var $_random_keyword; - function CI_DB_odbc_driver($params) + function __construct($params) { - parent::CI_DB_driver($params); + parent::__construct($params); $this->_random_keyword = ' RND('.time().')'; // database specific random keyword } |