commit | f7a8d86dbc6805a4e52964bbea76738df75b5f35 | [log] [tgz] |
---|---|---|
author | Timothy Warren <tim@timshomepage.net> | Wed Oct 05 20:41:38 2011 -0400 |
committer | Timothy Warren <tim@timshomepage.net> | Wed Oct 05 20:41:38 2011 -0400 |
tree | e243d089d272b8eea3c548d0c4b9e2d435c5c390 | |
parent | 47663970e357c51ad16d1a1a3d3b52428c022505 [diff] [blame] |
Changed all db constructors to newer syntax, made insert_id() function more convenient for postgres on pdo driver
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index 0dd29c2..6bc4041 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php
@@ -35,7 +35,7 @@ * Grabs the CI super object instance so we can access it. * */ - function CI_DB_forge() + function __construct() { // Assign the main database object to $this->db $CI =& get_instance();