summaryrefslogtreecommitdiffstats
path: root/system/database/DB.php
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2010-11-10 22:01:20 +0100
committerPascal Kriete <pascal.kriete@ellislab.com>2010-11-10 22:01:20 +0100
commit585600207a79c1d9a7b0af5883bf384629b753a3 (patch)
treefbd723a9f6f50adf0b1c988344275ddba010816b /system/database/DB.php
parenta88f04381a6c3953506d31a60a9909cb0d5243ee (diff)
Removing instantiate_class(), which was needed to make php 4 and 5.3 play together nicely. Removed all instantiations by reference.
Diffstat (limited to 'system/database/DB.php')
-rw-r--r--system/database/DB.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB.php b/system/database/DB.php
index b51995b68..60a67e821 100644
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -130,7 +130,7 @@ function &DB($params = '', $active_record_override = NULL)
// Instantiate the DB adapter
$driver = 'CI_DB_'.$params['dbdriver'].'_driver';
- $DB =& instantiate_class(new $driver($params));
+ $DB = new $driver($params);
if ($DB->autoinit == TRUE)
{